About Us | Donate! | Contribute! | Report Problems
The Face of Aptitude (Page 1 of 1)

Written by John James Inkpen
Posted on: Apr 08, 2009 at 08:21am
Section: Software
Printer Friendly Version
Legacy URL



On the face of it aptitude, a Debian package manager looks like some RGB monitor and a file manager from Ms-dos.

Aptitude maintains records, installs, updates, and removes packages installed on a computer. It does so being informative as possible. It is able to drill down into a package allowing you to extract what you want, or not. Collapse an update down into it parts, display information such as the maintainer of the update, their web page, size compressed and uncompressed, source, priority and more.

Aptitude also operates independently from its menu, allowing commands to be issued at the command line. e.g. aptitude install thispackage, aptitude remove thispackage or aptitude update and more.

I like the ugly thing – looks like the old Peter Norton's, Ms-Dos Norton Commander.

Aptitude Menu important keys

Control t (or F10) activate and deactivate menu, there you can Undo or Cancel pending actions
Control u Undo the last actions or a set of actions

Note: using a terminal other than xterm, F10 will exit a terminal session

Below Aptitude Menu, are two information screens, the top shows Upgradeable Packages if any (a number will appear) if not, no window

Installed Packages
Not Installed Packages
Virtual Packages
Tasks

The second window will display additional information pertaining to what is being displayed from inside the first window.

Aptitude most used keys    

     q Quit    

     ? Display help    

     f Clear the list of new packages (f for forget)    

     k or up arrow Move up    

     j or down arrow Move down    

     Enter Key expand or collapse a group of package    

     + install or upgrade a package or remove its held state    

     - Remove a package    

     u Update the list of available packages    

     U Mark all upgradeable packages to be Upgraded    

     g Perform all pending operations, removals, and upgrades    

     / Perform a search    

     \ Perform a backward search    
     Home, PageUp and PageDown

To use Aptitude in its Ncurses Based State (Menu) or TUI (text user interface)

press u (update the list of packages) listed in /etc/apt/sources.list file and if any updates they are listed. Within that update container display you can browse through the listed package(s) to receive the listed update(s) enter shift+U, (Mark All upgradeable packages to be upgraded) displayed on your terminal widow, press g (Perform all pending operations and modify if required) press g again to starts the process (download) when complete press enter. Remember that sometimes one has to resolve problems, or there is a error you can cancel it from the Menu Actions section (ctrl+t or F10) and get back at it again.

Aptitude may appear a little odd and confusing at first, but it only takes a couple minutes to get a feel for it and learn the basic needs. It indeed may be too much of a tool for my needs, apt-get or dpkg for that matter. I seldom use apps/utils/tools in there entirety, but I'm trying.

Within Aptitude shift+? Provides detailed information regarding action keys, function, man aptitude within a terminal, and aptitude manual page in GNOME Desktop help. Get an attitude with aptitude.

Regards,

<jinkpen> <at telus dot net>
Discuss this!  ( 2 comments )

Raiden's Realm Social Bookmarking
If you have any problems with any of these links, please let us know.  Thanks.

Digg it! Slashdot It! Del.icio.us Add to StumbleUpon Add to Technorati Reddit! Add to Google Bookmarks Add to FaceBook Share Add to Twitter

Average vistor rating: (Waiting on 2 more votes.)

Community Image Gallery

More Images
Submit new images to gallery

Raiden's Writings

Raiden's Writings has moved!

The new location is:
www.realmsofimagination.net

Please update your bookmarks with the new address. Thanks.

Announcements

The 2010 Realm Funding Drive is underway!

Please consider donating to help us out.  I know it's a tough year, but our needs are small and the money goes towards covering our webhosting for another year. Thanks in advance for your generosity.

$120 of $500 raised!

What is your favorite open source cellphone IOS?

Symbian
Android
Maemo
Other

More Polls
Latest Releases
(courtesy of Distrowatch)

1. Privatix 10.02.07
Released: 02/08
2. Frugalware 1.2-rc1
Released: 02/08
3. Tiny Core 2.9-rc2
Released: 02/08
4. Parsix 3.0r2
Released: 02/07
5. Mandriva 2010.1-alpha2...
Released: 02/07
6. Absolute 13.0.9
Released: 02/07

More
All original content on this site is copyright of Raiden's Realm via the Creative Commons license. All rights reserved.

Any non original content is the sole property of the respective owners.