Using Yum to Remove Packages

 < Day Day Up > 

Using Yum to Remove Packages

So far we have only looked at using Yum for installing software, but that is only a small part of its abilities.

It can also be used to remove packages that are no longer required, as well as give detailed information on installed and available packages.

The syntax is similar to the installation and update functions of Yum. In this section, we look at removing packages from the system using 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 will be prompted to give confirmation that you want to remove the required package; then Yum processes the packages and their dependencies to remove them safely.

     < Day Day Up > 


    Red Hat Fedora 4 Unleashed
    Red Hat Fedora 4 Unleashed
    ISBN: 0672327929
    EAN: 2147483647
    Year: 2006
    Pages: 361

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net