How to Uninstall rpm package without uninstalling dependent

First  rpm -q < keyword > can query the RPM package name
And then call rpm -e < package name > delete particular rpm package
If you experience depend on cannot be deleted using rpm -e –nodeps  < package name > checks not rely on directly remove RPM package
If you have more than one package name is the same name, use  rpm -e –allmatches –nodep < package name > deletes all packages with the same name, and ignore the dependency

Leave a Reply

Your email address will not be published. Required fields are marked *