Q. How can I install or upgrade an RPM package under CentOS / RHEL / Fedora / Suse Linux?
A. To install or upgrade an rpm file or package you need to use rpm command. RPM is a RPM Package Manager (originally called Red Hat Package Manager). Both Novell Suse Linux and Red Hat Linux support (Fedora Linux) uses rpm.
To install an rpm you need to use following command (you must be a root user i.e. login as a root user):
# rpm -ivh package.rpmTo upgrade an rpm package you need to use rpm command as follows:
# rpm -Uvh package.rpmRed Hat enterprise Linux user can use up2date command to install or update package over Internet:
# up2date -i package-nameFedora Linux user, use yum command to install or update package over Internet:
# yum install packageFedora Linux Update package:
# yum update package
See also:Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?