reset password

Ubuntu Package Management Commands

List all installed packages with name, version and a short description:

> sudo dpkg -l

List all installed packages with name and status:

> sudo dpkg --get-selections

Auto-remove packages that are no longer needed:

> sudo apt-get autoremove

Purge the configuration files of the packages that have been removed (the packages are in the "deinstall" status:

> sudo aptitude purge '~c'

This page has been viewed 1146 times.