
569
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Chapter 5
5
Package Management
This chapter describes the two major Linux packaging systems: the Red Hat
Package Manager (RPM) and the Debian GNU/Linux Package Manager. It also
describes the major frontend applications designed to simplify and automate
package management: yum and up2date for RPM-based systems, aptitude and
synaptic for Debian-based systems, and apt, which is a Debian package-
management tool that is now also available for RPM-based systems.
When you install applications on your Linux system, most often you’ll find a
binary or a source package containing the application you want, instead of (or in
addition to) a .tar.gz file. A package is a file containing the files necessary to install
an application. However, while the package contains the files you need for instal-
lation, the application might require the presence of other files or packages that
are not included, such as particular libraries (and even specific versions of the
libraries), to actually be able to run. Such requirements are known as
dependencies.
Package-management systems offer many benefits. As a user, you may want to
query the package database to find out what packages are installed on the system
and their versions. As a system administrator, you need tools to install and
manage the packages on your ...