Search the Catalog
Learning Debian GNU/Linux

Learning Debian GNU/Linux

By Bill McCarty
1st Edition September 1999
1-56592-705-2, Order Number: 7052
360 pages, $34.95 , Includes CD-ROM

Previous: B. Principal Linux Files Appendix C Next: C.2 The Package Management Tools
 

C. The Debian Package Management Utilities

This appendix introduces you to Debian's package management facilities, which help you manage software applications. Suppose, for example, that after installing Linux, you discover you need an application that you omitted; you can find the missing application's package and use the package management facilities to quickly and easily install the application. Similarly, when a new version of an application becomes available, the package management facilities helps you upgrade painlessly, by preserving the application's configuration files. The package management facilities also let you query the status of your system, helping you determine whether important files have been deleted.

C.1 Packages

A Debian package (or more simply, a package or a deb) is a file that contains files necessary to install an application or software unit. Debian packages are generally named using a convention that lets you determine the name of the package, the version of the software, and the release number of the package. Figure C.1 shows how the components of a package name are arranged.

Figure C.1: The structure of a package name

Figure C.1

The important virtue of packages is that they contain meta-information; that is, information about their contents. For example, each package contains a list of other packages needed for correct operation. Similarly, each package contains a list of other packages that conflict with its operation. This meta-information greatly simplifies system administration, which otherwise can become quite a challenge. Each package also contains a checksum, that helps protect package users against viruses and other sorts of tampering with package contents.

Debian packages have several important advantages relative to those used by other package management schemes. To learn more about these, see the comparison of package formats authored by Joey Hess, at http://kitenet.net/~joey/pkg-comp/.


Previous: B. Principal Linux Files Learning Debian GNU/Linux Next: C.2 The Package Management Tools
B. Principal Linux Files Book Index C.2 The Package Management Tools

Back to: Learning Debian GNU/Linux


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.