Quick guide to RPM (Red Hat Package Manager) #26

Quick Guide to RPM

RPM-Red Hat Package Manager

Caldera, Suse, Fedora also use RPM

  1. rpm -qa | more

to check the installed software in the system

q=query

a=list

  1. rpm -qi faq

Query individual package

q=query

i=requires a package name

faq=the package

  1. rpm -ql faq

List all the files for the package faq

q=query

l=list files

faq=package name

  1. rpm -ivh xapp-1.1.0.i386.rpm

install a package

i=install

v=verbose

h=show progress with hash

  1. rpm -e faq

remove package

-e = erase

  1. rpm -e –nodeps faq

erase without checking any dependancy

may cause some other packages to fail

  1. rpm -Va

Verify all of the files on your system.

  1. rpm -qf /usr/bin/uptime

check a file for its source/package

  1. rpm -ivh –force pack-1.0.0.i386.rpm

sometimes you will need it. When you go to install, you may get ‘already installed’ message, if you want to remove you may get ‘not installed’ message, –force is the solution.

  1. rpm -ivh –nodeps pack-1.0.0.i386.rpm

install without checking dependencies

[may not be a very good thing sometimes] From: http://sitestree.com/?p=4750
Categories:26
Tags:
Post Data:2006-11-30 22:11:36

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>