Difference between revisions of "Help-on-using-aptitude"

From BubbaWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
Aptitude is a command line packet manager.<br>It is more then apt-get, then you can search and view status of packages.<br><br>installing packages<br>aptitude install package-name<br><br>searching for packages<br>aptitude search keyword<br><br>viewing package details<br>aptitude show package-name<br>
Aptitude is a command line packet manager. It is more than apt-get, you can also search and view status of packages.<br><br>
 
Installing packages:<br>  
 
aptitude install '''package-name'''
 
Searching for packages:
 
aptitude search '''keyword'''
 
Viewing package details:
 
aptitude show '''package-name'''


<br>The "state" flag displayed for a package has the following possible values:<br>v - virtual<br>B - broken<br>u - "unpacked"<br>C - half-configured<br>H - half-installed<br>c - removed, but config-files still present (ie, not purged)<br>i - installed<br>E - internal error (should not happen)<br>  
<br>The "state" flag displayed for a package has the following possible values:<br>v - virtual<br>B - broken<br>u - "unpacked"<br>C - half-configured<br>H - half-installed<br>c - removed, but config-files still present (ie, not purged)<br>i - installed<br>E - internal error (should not happen)<br>  


<br>The "action" flag displayed for a package has the following possible values:<br>h - hold<br>p - purge<br>d - delete (remove)<br>B - broken<br>i - install<br>r - reinstall<br>u - upgrade<br>F - the available upgrade has been forbidden via "F"<br>
<br>The "action" flag displayed for a package has the following possible values:<br>h - hold<br>p - purge<br>d - delete (remove)<br>B - broken<br>i - install<br>r - reinstall<br>u - upgrade<br>F - the available upgrade has been forbidden via "F"<br>

Latest revision as of 01:57, 24 November 2010

Aptitude is a command line packet manager. It is more than apt-get, you can also search and view status of packages.

Installing packages:

aptitude install package-name

Searching for packages:

aptitude search keyword

Viewing package details:

aptitude show package-name


The "state" flag displayed for a package has the following possible values:
v - virtual
B - broken
u - "unpacked"
C - half-configured
H - half-installed
c - removed, but config-files still present (ie, not purged)
i - installed
E - internal error (should not happen)


The "action" flag displayed for a package has the following possible values:
h - hold
p - purge
d - delete (remove)
B - broken
i - install
r - reinstall
u - upgrade
F - the available upgrade has been forbidden via "F"