Examples of RPM commands

-- How remove RPM from the server without scripts

# rpm -ev rpm_name --noscripts

-- How searches for package with dependencies of needed file

# yum provides file_name