Introduction
If you need to remove a package using the RPM utility, it is recommended to perform the steps without removing any dependencies to ensure only the package in question is removed.
Procedure
Run the following command, replacing $package with the name of the RPM package to remove.
rpm -e --nodeps $package