User Tools

Site Tools


ubuntu:aptitude:aptitude_cheat_sheet

Ubuntu - aptitude - aptitude cheat sheet

SyntaxDescription
aptitudeRunning it with no arguments brings up a curses based interface to search, navigate, install, update and otherwise administer packages.
aptitude install <package>Install software for the system, installing needed dependencies as well.
aptitude -d install <package>Download packages to the package cache as necessary, but do not install or remove anything.
aptitude remove <package>Remove packages as well as orphaned dependencies.
aptitude purge <package>Remove packages and orphaned dependencies as well as any configuration files left behind.
aptitude search <search_term>Search for packages in the local apt package lists.
aptitude updateUpdate the local packages lists.
aptitude upgradeUpgrade any installed packages that have been updated.
aptitude cleanDelete any downloaded files necessary for installing the software on the system.
aptitude dist-upgradeUpgrade packages, even if it means uninstalling certain packages.
aptitude show <package>Show details about a package name.
aptitude autocleanDelete only out-of-date packages, but keep current ones.
aptitude hold <package>Fix a package at its current version, and do not update it.
ubuntu/aptitude/aptitude_cheat_sheet.txt · Last modified: 2023/07/17 13:21 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki