How to Uninstall | Delete Packages on Ubuntu 18.04

This brief tutorial shows you how to uninstall or delete packages on Ubuntu 18.04 | 16.04 systems…

If you’re a student or new user looking for a Linux system to start learning on, the easiest place to start is on Ubuntu Linux OS…. It’s a great Linux operating system for beginners..

Ubuntu is an open source Linux operating systems that runs on desktops, laptops, server and other devices…

Students and new users will find that Linux isn’t so different than Windows and other operating systems in so many ways, especially when it comes to managing installed programs and packages.…

Both Ubuntu and Windows systems allow you to be productive, easy to use, reliable and enable you to install and run thousands of programs from gaming to productivity suite software for individuals and businesses..

However, when you’re learning to use and understand Ubuntu Linux, you will also want to learn some basic tasks like install and uninstall packages using the command line..

Most Linux users can do some basic command line tasks.. This tutorial is going to show you how…..

On Ubuntu, applications are available in two formats:

  • Snap packages
  • Debian packages.

Snap packages are referred to as snaps and Debian packages are referred as deb…. If an app is available in both formats, Ubuntu Software list the snap apps first…

Uninstalling Packages via Ubuntu Software Center

New users and students who are not yet familiar with the command line, Ubuntu desktop come with a GUI package manager called Software Center..  This utility provides a graphical user interface (GUI) to find, install, and uninstall applications and packages..

To remove or uninstall packages via Ubuntu Software Center, follow the steps below:

Click the Ubuntu Software icon in the Dock, or search for Software in the Activities Overview search box to bring up Software Center.

ubuntu software install

When Ubuntu Software opens, click the Installed button at the top to list all the installed applications on the system…

Look through the list of installed applications and find the one you want to remove..

Install packages are listed alphabetically… When you find the apps, select to highlight it..

ubuntu software removal

Then click the Remove button…. you will be asked to confirm that you want to remove the application. Next, you will be asked to authenticate by entering your password… After you have done that, the application will be removed.

ubuntu software remove

On Linux systems there’s something known as app dependencies…. some applications depend on others to function properly… if you attempt to remove an application that is need by others, all the others will be removed as well along with the apps you’re uninstalling…

You will be asked to confirm whether you want this to happen before the applications are removed..

ubuntu software remove

Uninstall Packages via Command Line

For students who are comfortable with the command line, the steps below show you how to remove or uninstall packages using the command line utility..

Just like above where you search for all installed packages, you can use the apt list command to list all packages that are installed…

Example, run the commands below to list all install packages..

sudo apt list --installed

That should list all installed package..

To remove a package you find on the list, simply 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

To completely remove packages and their configuration settings file, you use apt get with purge options…

example,

sudo apt purge package_name

For Snap package, you can list using the commands below:

snap list

Remove Snap packages using the commands below:

sudo snap remove package_name

That’s it!

Congratulations! You have learned how to uninstall packages from Ubuntu using the GUI Software Center as well as apt command line tool…

You may also like the post below:

Install Icy Phoenix Bulletin Board on Ubuntu 18.04 | 16.04 with Apache2

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.