User Tools

Site Tools


packages:remove_a_package

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
packages:remove_a_package [2016/07/05 14:00] – created peterpackages:remove_a_package [2019/12/01 12:02] (current) – removed peter
Line 1: Line 1:
-====== Packages - Remove a package ====== 
  
-Aptitude is preferred, but other approaches can be used if desired. 
- 
- 
-===== Using aptitude ===== 
- 
-Issue the command: 
- 
-<code bash> 
-sudo aptitude remove package_name 
-</code> 
- 
-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. 
- 
-<code bash> 
-sudo aptitude purge package_name 
-</code> 
- 
- 
-===== Using dpkg ===== 
- 
-Issue the command: 
- 
-<code bash> 
-sudo dpkg -r package_name 
-</code> 
- 
-**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)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki