How to uninstall programs in elementary OS and Ubuntu

Let’s discuss the ways of uninstalling a program in elementary OS and Ubuntu. Uninstallation of a particular application depends on how it was installed in first place. Let’s go one by one.

Software Center

For programs that are installed using ‘Software Center’ which are nothing but Ubuntu Repository sources and canonical sources that are added manually, one can simply use the same center to uninstall it. Let’s see how.

Elementary OS users need to click on ‘Software Center’ icon on the plank and Ubuntu users have to click on ‘Ubuntu Software Center’ on the taskbar.

Click ‘Installed’ and then expand the category where the program is located. Alternatively, you can simply enter the program’s name in the search box located on the top right corner.

Now click on the program item and click ‘Remove’.

Software Center
Software Center

Synaptic Package Manager

If you have used Synaptic Package Manager to install certain programs, you can use the same program to uninstall just like you did in ‘Software Center’. Note that most programs installed via Synaptic Package Manager also get listed in ‘Software Center’ too, but for I recommend to use Synaptic Package Manager as it gives the option for complete removal of the programs. Launch ‘Synaptic Package Manager’ and search the program name in the ‘Quick filter’ box. Select the program from the results and click on ‘Mark for Complete Removal’. Then click ‘Apply’ and you are done.

Synaptics Package Manager
Synaptics Package Manager

Terminal

Of course, there is always the command-line way of doing things and it does ‘feel’ different when you install and uninstall programs using Terminal and that’s one of the best ways to start learning Linux.

apt-get command:

sudo apt-get remove <package name> && sudo apt-get autoremove

aptitude command:

The apt-get remove command doesn’t remove the automatically installed programs and so you may see a bunch of leftover garbage. Alternatively, you can use aptitude, which will automatically remove things and also gives an interactive command line interface to work with.

Aptitude is not installed in Ubuntu and elementary OS by default, so if you haven’t installed it yet, you can install it using apt-get.

sudo apt-get install aptitude

Then to uninstall a package using aptitude, use the following command format:

sudo aptitude remove <package>

For example, I have removed the ‘deluge’ application in Ubuntu.

Aptitude Remove Command Example
Aptitude Remove Command Example

That’s about most of the methods used for uninstalling a program in Ubuntu and elementary OS. Which method do you use the most?

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities, especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. I hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

1 COMMENT

  1. Anyway, there are some problems in removing some software with dependencies, for example: today I did not intend to install the microcode driver from AMD, I have INTEL processor and when I try to remove via synaptic it also uninstalls the linux header and linux image. I remember one day I removed all unnecessary language packs and never again got a clean login on the system. How to deal with this?

    Thank you. Good job.

Leave a Reply to Carlos C. Cancel reply

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,420FansLike
377FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

Getting Started with Linux Operating System

The Linux operating system brings forth a vibrant mix of features and security, making it the best alternative to macOS or Windows operating systems. In this post, we will give you a master guide on Getting started with Linux systems - taking you from a complete beginner to a level where you can begin testing the various Linux distributions available with much ease.

How to Create a Comprehensive Mail Server on Ubuntu

Postal is a free and open-source mail server used to send and receive emails. It comes loaded with tons of excellent features and functionalities, making it extremely popular among large organizations as well as in enterprise settings.

The 10 Best Linux Performance Monitoring Tools

Do you want to monitor the performance of your Linux system? Are you looking for some powerful performance monitoring tools to help you out? If you agree, it's your day as we have put together a detailed list of the ten best Linux performance monitoring tools.

How to Boot your Windows or Linux PC from a USB Drive

Sometime back, the process of installing an operating system required users to pop a bootable media disk into their DVD or CD drive and use it to boot the PC. But times have changed. Nowadays, the most common way of installing an OS is booting from a USB drive. The use of USB drives is further propelled by the current production of slim and lightweight laptops with no support for DVD/CD drives.

Python For Loop: Everything You Need to Know

Loops are one of the essential elements in any programming language, and Python is not an exception to it. Loops are used to repeat a statement or a block of statements multiple times. If there were no concept of loops in programming languages, we have to write each statement again and again for the number of times we want to execute it.

How to install LibreOffice on Fedora

If you are looking for a feature-rich and reliable Office Suite for your Fedora PC, then you have an excellent option at hand. LibreOffice, a free and opensource app, has stood the test of time and evolved into a beautiful alternative to Microsoft Office.

MUST READ

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

Manjaro ‘Gellivara’ XFCE Edition (17.0.5) in 10 Screenshots

Want to take a quick virtual tour Manjaro XFCE edition instead of downloading GBs worth of ISO image and then making a Live USB of it? We will make it easy for you. Here are a series of screenshots of the important aspects of Manjaro Linux in XFCE edition. This is a light-weight edition, and aims to be fast and low on system resources. You will be amazed on how it is still visually appealing and user friendly.

5 Best Download Managers for Linux

We often need to download large files that can go corrupt due to various reasons such as slow internet or interrupted download. Using a broken downloaded file is not something one wants. Download managers make sure that the downloaded file maintains its integrity and also presents you with the ability to pause and resume downloads, provided the server supports it. When you are downloading a massive file, it's recommended to use a download manager.

10 Best Video Editing Software for Linux

This article is for all the Linux users out there who are looking for video editors to create their own professional videos, which can range from short documentaries to even movies.

Getting Started with Linux Operating System

The Linux operating system brings forth a vibrant mix of features and security, making it the best alternative to macOS or Windows operating systems. In this post, we will give you a master guide on Getting started with Linux systems - taking you from a complete beginner to a level where you can begin testing the various Linux distributions available with much ease.