packages:remove_a_package
This is an old revision of the document!
Table of Contents
Packages - Remove a package
Aptitude is preferred, but other approaches can be used if desired.
Using aptitude
Issue the command:
sudo aptitude remove package_name
Multiple packages to be removed at once. Separated each package_name with a space.
Use the purge option to remove the package configuration files as well. This may or may not be the desired effect, so use with caution.
sudo aptitude 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/remove_a_package.1467727254.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)