≡ Menu

rpm uvh

Linux Install an RPM File

I'm a new Linux system administrator and wanted to perform software installation and maintenance. I've downloaded a file called awstats.i386.rpm and how do I install it under CentOS / RHEL / Suse / Fedora / Redhat Linux?
[click to continue…]

Q. Why does my yum command fail with an error that a repo is listed more than once under Fedora / RHEL / CentOS Linux? This error occurs when I type yum clean command

Loading "rhnplugin" plugin
Loading "security" plugin

Repository xen-repo is listed more than once in the configuration

How do I fix this problem?

[click to continue…]

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: