Wednesday, June 5, 2013

Query RPM

Some RPM commands that I regularly use (and struggle to find their syntax)


In order to query which RPM is installed on your machine
rpm -qa |grep somthing

Query a specific RPM installed on your machine:
rpm -qil nameOfYouPackage

Same but for RPM that is not installed on your machine (
rpm -qpil  nameOfYouPackage.rpm

Erase an installed RPM
rpm -e NameOfYourPackage
Search for availability of a package in the yum repositories:
 yum list stingraymain



Some Yum commands en vrac
yum search YourYumPackage
yum install YourYumPackage
yum remove YourYumPackage
yum info  YourYumPackage






No comments: