RPM (Red Hat Package Manager) is an default open source
and most popular package management utility for Red Hat based systems like (RHEL, CentOS and Fedora).
The tool allows system administrators and
users to install, update, uninstall, query, verify and manage system software packages in Unix/Linux operating systems.
This utility only works with packages
that built on .rpm format.
Install an RPM Package
For installing an rpm software package, use the following
command with -i option.
#rpm –ivh PackageName
RPM command and options
-i: install a package
-v: verbose for a nicer display
-h: print hash marks as the package
archive is unpacked.
For example, to
install an rpm package called pidgin-2.7.9-5.el6.2.i686.rpm
Remove a RPM Package.
To un-install an
RPM package, use -e (erase) option.
#rpm -e PackageName
for package name nx-3.5.0-2.el6.centos.i686.rpm.
[root@Packages] rpm -e nx-3.5.0-2.el6.centos.i686.rpm
No comments:
Post a Comment