RPM --- www.rpm.org
1.Install RPM
rpm -ivh <RPM name>
2.Upgrade RPM package
rpm -Uvh <rpm name>
2. Check RPM
rpm -q <RPM name> --- check rpm installed/not
rpm -qi <RPM name> --- check detailed information
rpm -qf <rpm name> --- location of RPM and files
rpm -qa --- list all installed rpms
3. Find dependencies of perticular RPM package
rpm -qpR <rpm name>
3. Remove rpm package
rpm -e <RPM name> --- remove rpm
rpm -ev <rpm name> --- remove rpm package
rpm -ev --nodeps <rpm name> --- remove rpm without checking dependencies
4.check recently installed packges
rpm -qa -last
4. Verify installed packges
rpm -V <rpm name>
rpm -Va
5.find dependencies
rpm -qR <rpm name>
6.dispaly less/more packges
rpm -qa | less --- dispaly less list
rpm -qa | more --- dispaly more list
No comments:
Post a Comment