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. The RPM formerly known as .rpm file, that includes compiled software programs and libraries needed by the packages. This utility only works with packages that built on .rpm format.
How to Install an RPM Package.
To Install an RPM Package using the following command
# rpm -ivh /path/Packagename.rpm
How to check dependencies of RPM Package before Installing
would like to do a dependency check before installing or upgrading a package. For example, use the following command to check the dependencies of the Package.
# rpm -ivh -qpR Packagename.rpm
How to check an Installed RPM Package
To Check if the package is already installed or not using the following command with the package name
# rpm -q packagename
How to List all files of an installed RPM package
To view all the files of an installed rpm packages, use the following command.
# rpm -ql Packagename
How to List Recently Installed RPM Packages
The following command is used for list out the recently installed RPM packages.
# rpm -qa --last
How to List All Installed RPM Packages
This command will list out the all installed RPM packages.
# rpm -qa
How to Upgrade a RPM Package
Using the following command to Upgrade your RPM package.
#rpm -Uvh Pacakagename.rpm
How to Remove a RPM Package
This command is used for uninstall the RPM package.
# rpm -evh Packagename.rpm
No comments:
Post a Comment