User Tools

Site Tools


This is an old revision of the document!

Remove packages

Removing installed packages can be done via one of the two tools: apt-get or dpkg.

Every command has to be run with root privileges su or sudo.

1. To remove an already installed package (packages), run:

 apt-get remove package1 package2

2. To remove a package with its configuration:

 apt-get purge package1

3. To remove not needed dependencies, after removing a package:

 apt-get autoremove

4. A package can be removed from the system via dpkg tool as well:

 dpkg -r package1.deb

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
remove_package.1534281349.txt.gz · Last modified: 2021/05/04 15:25 (external edit)