Sie sind auf Seite 1von 2

RPM (Red hat Package Manager)

Package Management
RPM (Red hat Package Manager)
BY using RPM we can
Install new applications.
Upgrade existing applications.
Remove installed applications.
Query package.
RPM is both installation method and package format.
RPM Label Pattern

RPM Installation:
To install package
# rpm <options> <package>
# rpm ivh bind-9.2.4.28.el4-i386.rpm
Options:
-i To install
-u To update existing package
-h Display progress in hash.
-v verbose
To install RPM forcefully.
# rpm ivh bind-9.2.4.28.el4-i386.rpm - - force

To install RPM without dependency.


# rpm ivh bind-9.2.4.28.el4-i386.rpm - - nodeps
Querying RPM
# rpm <options> <packagename>
#rpm -qa # rpm ivh bind-9.2.4.28.el4-i386.rpm
Options:
- q availability of package
-qa display all install package
-qi display complete info of package
Remove RPM
To remove RPM we use
# rpm <options> <packagename>
#rpm -e bind-9.2.4-28.el4
To remove RPM without dependancy:
# rpm e bind-9.2.4-28.el4 - - nodpes

Das könnte Ihnen auch gefallen