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

Using yum to Remove Packages

Using yum to Remove Packages

So far we have looked at using yum only for installing software, but that is only a small part of its capabilities. It can also be used to remove packages that are no longer required and to give detailed information on installed and available packages. The syntax is similar to the installation and update functions of yum.

As mentioned earlier, yum interfaces with the rpm command to use it for querying the local package database. If you need to remove a package, you can use yum remove <packagename>.yum then scans the local file system, finds the package named, and checks for potential dependency problems. This way, you will never remove a package that could crash your system. You are prompted to give confirmation that you want to remove the required package; then yum processes the package and its dependencies to remove them safely.

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

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