Posts

Showing posts with the label RPM

How to work with RPM packages ?

Image
Dealing with RPM packages. RPM Query Commands #rpm -qf <Filename> - Will show the name of pakage that owns the given file. #rpm --verify <package name> - Will verify the installed package for any error. #rpm --verify --all   - Will verify all installed packages for any error. Additional more commands are given in the below snippet, Installing, Updating & Uninstalling Packages : #rpm --import RPM-GPG-KEY - Some packages needs RPM GPG Key installed before installing any particular package. #rpm -ivh <*.rpm> - To Install Package #rpm -Uvh <*.rpm> - To Update package #rpm -e <package name> - To Uninstall