Читать книгу Mastering Linux System Administration - Richard Blum - Страница 109

Installing Package Files

Оглавление

There are a couple of ways to install an rpm package that you have downloaded. For a new package, use the ‐i action to install the package. However, if an older version of the package already exists on your system, you'll receive an error message.

It's more common to use the ‐U action, which installs the new package, or upgrades the package if it's already installed on the system. It has also become somewhat common to add the ‐vh options as well. The ‐h option shows the progress of the update, and the ‐v option shows what it's doing.

rpm -Uvh package

It's also important to remember that you must have root privileges to manually install packages, either as the root user or as a user account with root privileges.

Mastering Linux System Administration

Подняться наверх