Let’s see what are 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.
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’.
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 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.
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.
The apt-get remove command doesn’t remove the automatically installed programs and so you may see bunch of left over garbage. Alternatively, you can use aptitude, which will automatically remove things and also gives a 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:
For example I have removed ‘deluge’ application in Ubuntu.
That’s about most of the methods used for uninstalling a program in Ubuntu and elementary OS. Which method do you use the most?