AptitudeSurvivalGuide

Differences between revisions 3 and 4
Revision 3 as of 2005-08-22 05:40:27
Size: 2009
Editor: S0106000000cc07fc
Comment: add category documentation
Revision 4 as of 2005-08-22 06:30:54
Size: 2083
Editor: S0106000d88b9f3db
Comment: Formatting & cleanup
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
== Package management ==https://wiki.ubuntu.com/AptitudeSurvivalGuide?action=edit
==== Navigating the tree ====
== Package management ==
=== Navigating the tree ===
Line 14: Line 14:
j - select next package '''j''' - select next package
Line 16: Line 16:
k - select previous package '''k''' - select previous package
Line 18: Line 18:
Enter - show info about selected package '''Enter''' - show info about selected package
Line 20: Line 20:
q - retreat to the previous screen '''q''' - retreat to the previous screen
Line 24: Line 24:
'''you can navigate through the package dependencies in your window into the ubuntu package pool by '''You can navigate through the package dependencies in your window into the ubuntu package pool by
Line 27: Line 27:
==== Marking selected packages ==== === Marking selected packages ===
Line 29: Line 29:
+ (plus) mark package for installation '''+''' (plus) mark package for installation
Line 31: Line 31:
- (minus) mark package for removal '''-''' (minus) mark package for removal
Line 33: Line 33:
_ (underscore) mark package for purging '''_''' (underscore) mark package for purging
Line 35: Line 35:
= (equals sign) mark package as held '''=''' (equals sign) mark package as held
Line 37: Line 37:
==== Committing your marked changes ==== === Committing your marked changes ===
Line 44: Line 44:
/ (forward slash) search for search term or partial package name '''/''' (forward slash) search for search term or partial package name
Line 46: Line 46:
\ (back slash) repeat last search '''\''' (back slash) repeat last search
Line 50: Line 50:
==== useful search terms ==== === Useful search terms ===
Line 54: Line 54:
~b matches broken packages '''~b''' matches broken packages
Line 56: Line 56:
~c matches partially uninstalled packages ('configured, but not installed') '''~c''' matches partially uninstalled packages ('configured, but not installed')
Line 58: Line 58:
~g matches uninstalled packages, and packages marked for automatic removal. '''~g''' matches uninstalled packages, and packages marked for automatic removal.
Line 60: Line 60:
~i matches installed packages '''~i''' matches installed packages
Line 62: Line 62:
~ahold matches held packages '''~ahold''' matches held packages
Line 64: Line 64:
For example, `l~g~sgnome` will display only the uninstalled packages from the section gnome. For example, '''"l~g~sgnome"''' will display only the uninstalled packages from the section gnome.
Line 66: Line 66:
=== Further information === == Further information ==

'''"man aptitude"''' at a command prompt.

Introduction

Aptitude can give you fine grained package management, and will give you an easily traversed picture of the ubuntu packages available to you, both installed and uninstalled.

Package management

[ and ] - (right and left bracket) collapse and uncollapse selected (sub)tree (Try hitting Enter instead of [ or ], all three actions are useful)

j - select next package

k - select previous package

Enter - show info about selected package

q - retreat to the previous screen

The navigation keys (page up, home, end, etc) work pretty much as expected.

You can navigate through the package dependencies in your window into the ubuntu package pool by selecting a dependency in a packages' info page, and pressing enter. Rinse, repeat.

Marking selected packages

+ (plus) mark package for installation

- (minus) mark package for removal

_ (underscore) mark package for purging

= (equals sign) mark package as held

Committing your marked changes

Press 'g' once to see the marked changes

Press 'g' a second time to update to marked changes

Searching

/ (forward slash) search for search term or partial package name

\ (back slash) repeat last search

l limit the displayed packages to only those matching the search expression.

Useful search terms

~ is 'tilde'

~b matches broken packages

~c matches partially uninstalled packages ('configured, but not installed')

~g matches uninstalled packages, and packages marked for automatic removal.

~i matches installed packages

~ahold matches held packages

For example, "l~g~sgnome" will display only the uninstalled packages from the section gnome.

Further information

"man aptitude" at a command prompt.

[file:///usr/share/doc/aptitude/README]

[file:///usr/share/doc/aptitude/html/en/index.html]

CategoryDocumentation

AptitudeSurvivalGuide (last edited 2008-08-06 16:24:20 by localhost)