LinuxDevCenter.com

oreilly.comSafari Books Online.Conferences.

We've expanded our Linux news coverage and improved our search! Search for all things Linux across O'Reilly!

Search
Search Tips

advertisement

Listen Print Discuss Subscribe to Linux Subscribe to Newsletters

Installing Software on Debian
Pages: 1, 2, 3

Friendlier Interfaces

Are there more user-friendly ways to manage packages? Perhaps most people understandably think that a modern operating system should have a more interactive way of installing software, although some people will always be command-line addicts. The visual mode of aptitude provides a keyboard- and menu-driven interface to your system's packages, as shown in Figure 1. Invoke the visual mode just by running aptitude on its own. You don't need to bother to become root; when it needs superuser privileges, aptitude's interface will ask you for the root password.



aptitude's visual mode
Figure 1. aptitude in visual mode

All the features available from the command line are accessible through the menus. The display of packages and their state conveys a lot of information at once. For instance, the i shows a package is installed, and the A denotes that aptitude automatically installed it as a dependency. This display is fully customizable through the Options menu.

If you're operating in a graphical environment, you may prefer to use synaptic, available from the package of the same name. Start it by selecting Synaptic Package Manager from the GNOME System Tools menu, or running sudo /usr/sbin/synaptic. Figure 2 shows the result of a search for sudo.

Thumbnail, click for full-size image.
Figure 2. The Synaptic package manager--click for full-size image

Finding Out More

If you plan to use aptitude from the command line, the best reference is the aptitude(8) manual page. For the menu-driven interface, a user guide is present in HTML in the /usr/share/doc/aptitude/html directory. Read it with the w3m text-mode browser or a graphical browser of your choice.

As well as searching for packages on your own system, there's a web interface to all the Debian distributions and their contents, where you can search packages by practically every criteria imaginable.

For further information on the arrangement of the Debian archive, and the significance of the section names, consult Chapter 2 of the Debian Policy Manual. To better understand the meaning of dependencies, recommendations, and other package relationships, consult Chapter 7.

Although I prefer to use aptitude as the main interface to package management, the apt-get tool has existed for longer. Its manual page and associated documentation is also a good place to look to learn about package management in Debian.

Edd Dumbill is co-chair of the O'Reilly Open Source Convention. He is also chair of the XTech web technology conference. Edd conceived and developed Expectnation, a hosted service for organizing and producing conferences. Edd has also been Managing Editor for XML.com, a Debian developer, and GNOME contributor. He writes a blog called Behind the Times.


Return to the Linux DevCenter.


Have an aptitude or apt-get question or tip? Have a suggestion for the next article in Edd's Debian series? Let us know here.
You must be logged in to the O'Reilly Network to post a talkback.
Post Comment


Tagged Articles

Post to del.icio.us

This article has been tagged:

debian

Articles that share the tag debian:

Installing Debian (36 tags)

Installing Software on Debian (17 tags)

Use Your Digital Camera with Linux (4 tags)

View All

linux

Articles that share the tag linux:

Managing Disk Space with LVM (74 tags)

Use Your Digital Camera with Linux (60 tags)

mdadm: A New Tool For Linux Software RAID Management (59 tags)

Asterisk: A Bare-Bones VoIP Example (43 tags)

View All

howto

Articles that share the tag howto:

Rolling with Ruby on Rails (258 tags)

From Weblog to CMS with WordPress (98 tags)

Top Ten Digital Photography Tips (92 tags)

Top Ten Mac OS X Tips for Unix Geeks (79 tags)

View All

sysadmin

Articles that share the tag sysadmin:

Building a FreeBSD Build System (30 tags)

Best Windows Admin Downloads (30 tags)

Managing Disk Space with LVM (26 tags)

The Ultimate Free Windows Toolkit (21 tags)

Six Things First-Time Squid Administrators Should Know (20 tags)

View All

software

Articles that share the tag software:

What Is Web 2.0 (185 tags)

Rolling with Ruby on Rails (97 tags)

How Does Open Source Software Stack Up on the Mac? (79 tags)

Calculating the True Price of Software (68 tags)

Delve into DEVONthink (30 tags)

View All

Sponsored Resources

  • Inside Lightroom
Advertisement

Sponsored by:

O'Reilly Media

©2009, O'Reilly Media, Inc.
(707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
About O'Reilly
Academic Solutions
Authors
Contacts
Customer Service
Jobs
Newsletters
O'Reilly Labs
Press Room
Privacy Policy
RSS Feeds
Terms of Service
User Groups
Writing for O'Reilly
Content Archive
Business Technology
Computer Technology
Google
Microsoft
Mobile
Network
Operating System
Digital Photography
Programming
Software
Web
Web Design
More O'Reilly Sites
O'Reilly Radar
Ignite
Tools of Change for Publishing
Digital Media
Inside iPhone
O'Reilly FYI
makezine.com
craftzine.com
hackszine.com
perl.com
xml.com

Partner Sites
InsideRIA
java.net
O'Reilly Insights on Forbes.com