How to uninstall an rpm package without detaching dependencies

Source: Internet
Author: User
First, you can query the rpm Package name through the rpm-q & lt; keyword & gt; and then call the rpm-e & lt; package name & gt; deleting a specified rpm package cannot be deleted if it encounters a dependency. run rpm-e -- nodeps & lt; package name & gt; without checking the dependency, delete the rpm package directly. if multiple packages have the same name

First, use rpm-q <关键字> You can query the rpm Package name.

 

Then call rpm-e <包的名字> Delete a specified rpm Package

 

If a dependency is encountered and cannot be deleted, use rpm-e -- nodeps <包的名字> Delete the rpm package directly without checking the dependency

 

If multiple packages have the same name, use rpm-e -- allmatches -- nodeps. <包的名字> Delete all packages with the same name and ignore dependencies

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.