Книга: Fedora™ Unleashed, 2008 edition

rpm at the Command Line

rpm at the Command Line

As a Fedora system administrator, you will use the rpm command or the Fedora graphical clients to perform one of five basic tasks. These operations, which must be conducted by the root operator, include the following:

? Installing new software

? Erasing or removing outdated or unneeded packages

? Upgrading an installed software package

? Querying to get information about a software package

? Verifying the installation or integrity of a package installation

The rpm command has more than 60 command-line options, but its administrative functions can be grouped according to the previous five types of action. Graphical RPM clients provide easy-to-use interfaces to these operations. As a system administrator, you have a choice between using a graphical interface and using rpm's various command-line options.

The general format of an rpm command is as follows:

# rpm option packagename

The basic options look like this:

-i — Installs the selected package or packages

-e — Erases (removes) the selected package or packages

-U — Removes the currently installed package, and then installs software with the contents of the selected package or packages, leaving the existing configuration files

-q — Queries the system or selected package or packages

-V — Verifies installed or selected package or packages

Оглавление книги


Генерация: 1.058. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз