This question already has an answer here:

Like, in Windows, in Control Panel, we have Uninstall a Program option, is there anyway I can uninstall a program on Ubuntu? I have installed some programs previously, I do not remember the version and command line i wrote in terminal (because after that, I have used many commands) etc. I searched for a solution on web, and mostly I got an answer, to use Ubuntu software centers. But I do not see many of the softwares I had installed. (For eg. Android Studio, QT. etc) I wish to have a GUI where I can uninstall such programs. Is it possible?

marked as duplicate by Elder Geek, Eric Carvalho, WinEunuuchs2Unix, David Foerster, karel Dec 28 '16 at 2:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • If you remember the program or packages your installed simply run sudo apt remove --purge package_name for all such packages and when done do sudo apt update && sudo apt dist-upgrade – George Udosen Dec 27 '16 at 15:11
  • Do you know the name(s) of the programs that you wish to remove? If you installed from source code, you probably used commands like ./configure and make and sudo make install. Does this sound familiar? – heynnema Dec 27 '16 at 16:31
  • It depends on how you installed the software. – David Foerster Dec 28 '16 at 1:49

To see the commands that you have previously typed at the command line, type;


To search your history for commands that installed a program;

history | grep install

(Your history is not infinite, so it depends how long ago you installed the programs if it is still in your history)

To uninstall a program from the command line type;

sudo apt-get remove <program>

If you also want to remove any associated config;

sudo apt-get purge <program>

I don't use the software centre, but it should simply be a matter of highlighting the program you installed and clicking uninstall (or delete).

I do use synaptic. It's a package manager GUI, without the bells and whistles of software centre. You install it with;

sudo apt-get install synaptic

This GUI lists all available packages and allows you to manipulate them as you see fit. (Install, remove, upgrade etc). You can sort the columns, so in your case you would sort by what's installed.


On the terminal type apt list --installed or dpkg --list to list all installed softwares in form of package names.

The use sudo apt-get purge <package-name> to completely remove the package you want.

Not the answer you're looking for? Browse other questions tagged or ask your own question.