Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose I download a .deb package from a website and install it. (I assume that when I double click the .deb file, the package is installed through a GUI that interfaces with dpkg right?)

How can I uninstall it?

share|improve this question
up vote 58 down vote accepted

Manually installed packages appear in the Software Centre, along with all the others. Just search the software centre for your package and remove it there.

You may have to click on "Show N technical items"

alt text

Along with this, there are a few other methods:


  • Go to System → Administration → Synaptic Package Manager
  • Click the Status button and select "Installed (local or obsolete)"
  • Right click a package and select "mark for removal".
  • Click the Apply button.

    This will have the benefit of listing all of your manually installed packages:

alt text

Command Line

  • You can either use sudo apt-get remove packagename if you know the name of the package, or if you don't, search for it using apt-cache search crazy-app and then remove it using apt get

  • You can also use dpkg --remove packagename.

@GorgeEdison it's a security risk! :P @EveryoneElse, never mind I'm kidding :)

This will also let you know if there are any unneeded packages left on your system, which were possibly installed as dependencies of your .deb package. Use sudo apt-get autoremove to get rid of them.

share|improve this answer
aerofs-installer-0 ( did not appear in U.S.C., only in the command line and in synaptic. Any idea why? – nutty about natty Oct 20 '13 at 5:51

The command to facilitate that is:

sudo dpkg -r package_name
share|improve this answer
or dpkg --purge package_name to erase configuration files as well. – Tom Jan 19 '11 at 1:20

Open up Ubuntu Software Center (Applications -> Ubuntu Software Center) and search for the package you want to uninstall, and click on the Remove button:

alt text

Or from the command line:

sudo apt-get remove <package-name>
share|improve this answer

If your want to remove the package and all configuration files related to it:

sudo aptitude purge packagename
share|improve this answer

Use -r with dpkg.

See this blogpost for more information.

share|improve this answer

The installed package will be visible in both Synaptics and software center. In the former one, it will appear under local packages and in the latter one under other.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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