The post guides users on how to remove or uninstall software packages in Ubuntu Linux using either the Ubuntu Software, Synaptic, or the command line. It provides detailed step-by-step instructions on how to use these tools to list, select, and uninstall desired software or applications. It also points out implications of removing applications that are dependent on others.
This post describes the steps to remove or uninstall software packages in Ubuntu Linux.
Applications and Software that you can use and manage with Ubuntu Linux desktop typically have a graphic user interface (GUI). In addition, you can use Ubuntu Software to remove applications you no longer use.
You may also wish to remove Software that does not have a GUI. To remove such Software, you can use Synaptic or the command line. Note that Synaptic does not list snaps.
Applications are available in two formats: snap packages and Debian packages. Ubuntu Software will list the snap packages for software packages available in both formats first.
Below is how to remove or uninstall Software in Ubuntu Linux.
How to uninstall Software in Ubuntu Linux
As described above, you can use Ubuntu Software to remove applications you no longer use in Ubuntu Linux.
Below is how to do that.
Click the Ubuntu Software icon in the Dock, or search for Software in the Activities overview search bar.
When Ubuntu Software launches, search for an application, select a category, and find an application from the list.
By default, it will open in the Explore tab. The installed tab includes all installed Software. The Updates tab shows a list of software with updates available to be installed.
In the Ubuntu Software app, click the Installed button at the top.
Find the application you want to remove by using the search box or looking through the list of installed applications.
Select the application and click Uninstall or Remove by clicking the delete button.
Confirm that you want to remove the application.
You will be asked to authenticate by entering your password. Once you have done that, the application will be removed.
Some applications depend on other applications to work correctly. Therefore, if you remove an application that other packages depend on, all dependent applications will also be removed.
Do this for every application you want to remove in Ubuntu Linux.
How to remove package on the command line console
If you prefer to use the comment line console, follow the steps below.
Like above, where you search for all installed packages, you can use the apt list command to list all installed packages.
For example, run the commands below to list all installed Debian packages.
sudo apt list --installed
That should list all installed packages.
To remove a package, you find on the list, run the apt-get or apt command to uninstall it.
sudo apt remove package_name
Replace package_name with the package you wish to uninstall.
To uninstall multiple packages, run the commands below
sudo apt remove package_name_1 package_name_2
You use apt-get with purge options to altogether remove packages and their configuration settings files.
sudo apt purge package_name
For the Snap package, you can list using the commands below:
Then, remove Snap packages using the commands below:
sudo snap remove package_name
That should do it!
This post showed you how to uninstall or remove software packages in Ubuntu Linux. Please use the comment form below if you find any errors above or have something to add.