Installing packages in Linux using RPM.

How to install RPM packages?
RPM stand for Red Hat Package Manager is the package managemet tool in all Red hat systems.
To install an RPM Package in a Red Hat Linux system do the following:
Open the linux terminal and type the following command:
“# rpm -i packagename” and press Enter.Upgrade an RPM package.
To upgrade an RPM package do the following:
“# -u packagename.rpm”.
Now the program will update to its latest version.

To see the progress of an RPM download.
If you want to see the progress of an RPM package being downloaded type the name of the package in this way:
“# -ivh packagename.rpm”.

To remove an RPM package
To remove an RPM package type the following command:
“# -ev packagename”.

How to test an RPM package without installing it?
To test an RPM package before installing it type the following command:
“# -ivh -test packagename.rpm”

Uninstall and RPM package without checking dependencies.

To uninstall an RPM package type the following command:
” rpm -ev —nodeps packagename.rpm”

Leave a Reply