User Tools

Site Tools


packages:uninstall_a_package

This is an old revision of the document!


Packages - Uninstall a package

Using apt

Issue the command:

sudo aptitude remove package_name

Multiple packages to be removed at once. Separated each package_name with a space.

Adding the –purge option to aptitude remove will remove the package configuration files as well. This may or may not be the desired effect, so use with caution.

sudo aptitude remove --purge package_name

Using dpkg

Issue the command:

sudo dpkg -r package_name

WARNING: Uninstalling packages using dpkg, in most cases, is NOT recommended. It is better to use a package manager that handles dependencies to ensure that the system is in a consistent state. For example using dpkg -r zip will remove the zip package, but any packages that depend on it will still be installed and may no longer function correctly.

packages/uninstall_a_package.1467713228.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki