02 June 2010

Uninstalling packages in Ubuntu using apt

As with package installation, package removal may be accomplished using both graphical and command-line tools. In my opinion however, the more reliable avenue for removing (and, arguably, even installing) packages is done via the command-line. If things go wrong with GUI tools, those "in the know" will invariably refer you to the command-line in an effort to resolve the issue. Why not simply hasten the point and start there from jump street.


Although for this tutorial we are removing a specific application (Frozen Bubble), the process may be applied to virtually any package you wish to remove.


  1. From the desktop, launch a new terminal session by selecting: Applications > Accessories > Terminal. A new terminal window will display.
  2. At the prompt (the blinking cursor), type:sudo apt-get autoremove frozen-bubble the press: Enter. The terminal will display a list of packages to be removed (including any accompanying dependencies no longer needed by other packages). Note: If you do not recall the exact name of the package you wish to uninstall, refer to: Advanced Package Tool (apt) basics for more information.
  3. When prompted to confirm removal, type: Y then press: Enter.
  4. Once removal is complete, close the terminal.

No comments: