|
Not sure if this is what you're after, but
rpm -q <part_of_package_name>
Will tell you if a package is installed. For instance,
rpm -q apache
Will tell you if any versions of apache are installed. To then uninstall a package,
rpm -e <package_name_returned_from_-q>
Good luck,
|