Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Removing Packages

Once a package is installed you can remove it with remove:

  $ wajig remove <package name>         (apt-get remove)
You can list multiple packages to remove with the one command.

A remove will not remove configuration files (in case you have done some configuration of the package and later re-install the package). To get rid of the configuation files as well use purge:

  $ wajig purge <package name>          (apt-get --purge remove)

Packages are often installed indirectly because they are a dependency for another package. If that other package gets removed, these dependent packages remain. The auto-remove command will remove those packages that were not directly installed, and are no longer required:

  $ wajig autoremove			(apt-get autoremove)


Copyright © 1995-2020 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Graham Williams is the developer of open source software including rattle and wajig.
He is the author of Data Mining with Rattle and Essentials of Data Science.
This web site is hosted by Togaware, free and open source software since 1984.