3 Package anagement 4 ,&at is Package- The RPM Package Manager (RPM) is an open packaging system, which runs on Red Hat Enterprise Linux as well as other Linux and !"# systems$ RPM has %i&e 'asic modes o% operation( installing, uninstalling, upgrading, )uerying, and &eri%ying$ *o%tware to 'e installed using rpm is distri'uted through rpm package %iles, which are essentially compressed archi&es o% %iles and associated dependency in%ormation$ Package %iles are named using the %ollowing %ormat( name-#ersion-re"ease.arc&itecture.rpm 5 RP commands: RPM packages typically ha&e %ile names like %oo+,$-+,$i./0$rpm$ The %ile name includes the package name (%oo), #ersion (,$-), re"ease (,), and arc&itecture (i./0)$ To install a package, log in as root and type the %ollowing command at a shell prompt( rpm -i#& %oo-1./-1.i301.rpm 1ther options are( Upgrade: rpm +&h packagename$rpm (2ill upgrade the old &ersion with the new &ersion package or else install new package) 2res&en: rpm +3&h packagename$rpm (2ill only upgrade the old &ersion with the new &ersion can4t work i% the old &ersion is not there$ Erase: rpm +e packagename (2ill remo&e 5 erase the package) 6 RP $ueries