User Tools

Site Tools


remove_package

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 super user privileges sudo.

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

 sudo apt-get remove package1 package2

2. To remove a package with its configuration:

 sudo apt-get purge package1

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

 sudo apt-get autoremove

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

 sudo dpkg -r package1.deb

This website uses cookies to adapt the content to Your needs, personalize advertisements from third-party companies and generate own statistics and through 3rd party companies. Third-party companies also use cookies. If you do not accept these rules, simply leave our website. More information about cookies and the privacy policy can be found by clicking on the Learn More linkLern More
remove_package.txt · Last modified: 2021/05/04 15:24 (external edit)