Ubuntu – Removing a deb package installed from thirdparty

aptsoftware-centerxubuntu

New to Linux and Xubuntu, I have recently installed Xubuntu 14.04 64 bit and so far I have been installing/uninstalling apps from the Ubunutu software center.

Recently I have installed google chrome since it was not available in the software center I downloaded from google's website.

It downloaded following file

 google-chrome-stable_current_amd64.deb 

When I double clicked to install it, it has opened the software center app and showing the page for chrome and an install button which I clicked to install it successfully.

I later on deleted the .deb file, now I want to remove the chrome from Xubuntu but When I open the Ubuntu software center and tap the installed button it shows all other apps but not the google chrome that I installed.

SO my question is how to remove any such app that I install using the downloaded .deb file from elsewhere and in this case chrome ?

Best Answer

You can remove any software installed via a .deb packages with the apt-get remove command

First open a terminal session with Ctrl+Alt+T and type in:

sudo apt-get remove google-chrome-stable

This should remove the package from your system.

Additionally, to see a list of locally installed and obsolete packages either run the command

sudo apt-get install aptitude
aptitude search '~o'

or install Synaptic with sudo apt-get install synaptic and click on the Status button on the left panel and select Installed (local or obsolete). See screen capture below for reference.

Synaptic showing local and obsolete packages

Both options will show you the list of all .deb installed packages.

Related Question