Ways to Install and Uninstall fish-common on Ubuntu 22.04

Updated: October 26, 2022

Fish is a shell geared towards interactive use. Its features are focused on user friendliness and discoverability. The language syntax is simple but incompatible with other shell languages. In this tutorial, I will show you how to install fish-common on Ubuntu 22.04.

Software Requirement

  • OS: fish-common needs Ubuntu 22.04 to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install fish-common on Ubuntu 22.04

Install fish-common Ubuntu 22.04

fish-common is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install fish-common using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to get fish-common on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install fish-common Ubuntu by executing this command in the terminal.

sudo apt-get -y install fish-common

Install fish-common using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After that, you can now install fish-common, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install fish-common Ubuntu by executing this command in the terminal.

sudo aptitude -y install fish-common

Uninstall fish-common on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just fish-common.

You can uninstall fish-common Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove fish-common

You can also execute this command if you want to uninstall fish-common and remove its data and dependencies:

sudo apt autoremove --purge fish-common

Ending

In this guide, I showed you ways to install fish-common on Ubuntu 22.04 and ways to uninstall fish-common too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.