1
1
RPM S
RPM is the acronym for RedHat Package Manager. By using RPM utility the user can install the new packages, can upgrade and can also remove existing packages.
2
2
RPM Pattern
xmms-1.2.10-9.i386.rpm
Version Version Number Number Package Package Name Name
Extension Extension of of RedHat RedHat
Type Typeof of Architecture Architecture
3
3
RPM - Install
To Toinstall install the theRPM RPM package package [root@comp1 ~]#rpm [root@comp1 ~]#rpm <package <package name-version> name-version> --force --force --aid --aid
Options : -i
- To install the package
-v
- Verbose
-h
- To Display the progress in hashes
--force
- To install package forcefully
--aid
- To install package along with dependencies
4
4
RPM - Upgrade
To Toupgrade upgrade the theexisting existingRPM RPMpackage package [root@comp1 ~]#rpm <package [root@comp1 ~]#rpm <package name.version> name.version>
Options : -U
- To Upgrade the existing the package
-v
- Verbose
-h
- To Display the progress in hashes
5
5
RPM - Remove
To Toremove removethe theexisting existing RPM RPMpackage package [root@comp1 ~]#rpm <package [root@comp1 ~]#rpm <packagename> name> --nodeps --nodeps
Options : -e
- To uninstall the package from the system
--nodeps
- To uninstall package even if dependencies are there.
6
6
RPM Options
To Toquery querythe theRPM RPMPackage Package [root@comp1 ~]#rpm [root@comp1 ~]#rpm <package <packagename> name> Options : -q
- To query the availability of installed package.
-qa
- Queries all installed RPM s in OS.
-qc
- Lists only the configuration files stored in the queried
Does not require any package specification. RPM. -qd
- Lists only the documentation files stored in the
-qi
- Displays complete information about the queried RPM.
-qs
- Displays the states of files in the queried RPM.
-ql
- Display all the files related to the queried RPM.
queried RPM.
7
7