how to use (HOWTO) aptitude in Debian

aptitude, package management.
aptitude is a package management tool with many useful features, including: a mutt-like syntax for easy searching packages, deferred execution requested by user action (like dselect), obtain and display a list of changes for most packages, and a command-line as apt-get.
Aptitude also occupies little space and ensures the purity of the system, removing unnecessary more helpers.
The package contains a version of aptitude with classic console interface (using curses). The GUI version can be found in the package aptitude-gtk.
information on commands
Code: [Select]


aptitude install: installing software, and building the necessary dependencies.
aptitude remove: remove packages, as well as separate dependencies.
aptitude purge: uninstall package and separate dependencies, as well as unnecessary configuration files.
aptitude search: search packages for local list apt.
aptitude update: update the local package list.
aptitude upgrade: update already installed packages on an updated list of packages.
aptitude clean: remove installation files.
aptitude dist-upgrade: upgrade available packages even if some of them will not be used for installation.
aptitude show: detailed information about the package.
aptitude autoclean: delete obsolete packages, but saves the current.
aptitude hold: fix bugs in the current version, but does not update it.

aptitude help

Install-install/upgrade packages
Remove-remove packages
purgeremove packages and config files
hold-Fix packages
unholdCancel the hold command for package
markautomark package that it was installed automatically
unmarkautomark package that you installed it manually
forbid even Forbid-versionspecific update package version of aptitude.
Update-download the list of new/updated packages
safe-upgrade-Perform a safe upgrade
full-upgradePerform an upgrade, possibly installing and removing packages
forget-newForget what packages “new
Search-search for the package by name and/or expression
Show-Show detailed information of a package
clean-Delete downloaded package files
AutoCleanremove old package files downloaded
changelog-see the changelog of package
Download-Download the .deb file for the package
Reinstalldownload and (maybe) reinstalled the already installed package
-h This help text
-s to simulate the actions, but does not perform them really.
-d download only packages do not install and do not delete.
-P Always ask for confirmation or actions
y Assume an answer ‘ yesto a simple yes/no question
-F format, specify the format of the search results are displayed; see Guide
-O order, specify the format of the search results sorting; see Guide
w width set the width of the output
-f forces a correct broken packages.
-V display the version of the installed packages.
(D) show the dependencies automatically changing packages.
Z size Show the installation of each suite.
v Display additional information. (can be entered multiple times)
t [release] set the Edition from which packages should be installed
(q) do not display a progress indicator in the command line mode.
-o key = val option to manually set the configuration named ‘ key
-with (out)-judges whether featured packages
interpreted as strict dependencies
-S fname Read extended status information about the aptitude of fname.
u download the list of new packages when run.
-i run it at startup.