To uninstall a package, type a command like this one:
In this command,
package is the name of the package, not the name of the package file.
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
rpm -e --nodeps
However, doing so will probably cause the depending package to cease working properly. Therefore, you’ll not often need to use the