Uninstalling a Package

To uninstall a package, type a command like this one:

            rpm -e 
            package

In this command, package is the name of the package, not the name of the package file. The name should omit the architecture; it can also omit the package version or package version and release number. For example, you can erase the pine package by issuing either of the following commands:

            rpm -e pine-4.33-8
            rpm -e pine

If you attempt to uninstall a package on which another package depends, RPM will report a dependency error and terminate without uninstalling the package. You can force RPM to uninstall the package by using the - -nodeps option:

            rpm -e --nodeps 
            package

However, doing so will probably cause the dependent package to cease working properly. Therefore, you shouldn’t use the - -nodeps option very often.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.81.232