
594
|
Chapter 5: Package Management
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
The Debian Package Manager
Debian GNU/Linux provides several package-management tools, primarily
intended to facilitate the building, installation, and management of binary pack-
ages. In addition to Debian GNU/Linux, the tools described here also work on
other Debian-based systems such as Xandros, Knoppix, Ubuntu, and numerous
others.
Debian package names generally end in .deb. The Debian package-management
tools described here include apt, aptitude, dpkg, dpkg-deb, dselect, and synaptic.
Each of these tools is described later in detail in “Debian Package Manager
Command Summary.”
Files
Some important files used by the Debian package-management tools are descri-
bied briefly here:
control
Comes with each package. Documents dependencies; contains the name and
version of the package, a description, maintainer, installed size, the package
priority, etc.
conffiles
Comes with each package. Contains a list of the configuration files associ-
ated with the package.
preinst, postinst, prerm, postrm
Scripts developers can include in a package to be run before installation, after
installation, before removal, or after removal of the package.
/var/lib/dpkg/available
Contains information about packages available on the system.
/var/lib/dpkg/status
Contains information about ...