aptitude and apt-get both are the extremely powerful
package management tools in Debian and its derivative system. However,
aptitude is different from the apt-get, aptitude in dealing with the
issue of dependence is better. Like to delete a package in aptitude, we
will also delete the related package. In this way, the system will not
left the useless packages, the whole system is cleaner. Here are some
commonly used command of aptitude for reference only.
| Command | Function |
| aptitude update | to update the list of available packages |
| aptitude upgrade | to upgrade packages |
| aptitude dist-upgrade | to upgrade to a new release |
| aptitude install pkgname | to install a package |
| aptitude remove pkgname | delete the package |
| aptitude purge pkgname | delete package and its configuration files |
| aptitude search string | search the package |
| aptitude show pkgname | show detailed information of the package |
| aptitude clean | to delete the downloaded package file |
| aptitude autoclean | removes only package files expired |
Reference URI:https://ubuntu-sky.blogspot.com/2009/04/aptitude-command-quick-reference_11.html
Have not found what you want?? Try to search by Google

Comments: 0 comments
Post a Comment