How do I install or upgrade an RPM file or package under Red Hat / Fedora / Suse Linux?
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:
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Linux / UNIX FAQ:
- How do I install and search FreeBSD ports or a package?
- How do I upgrade the kernel in Linux without compiling from source code?
- Upgrade Linux kernel howto
- How do I find what dependencies a rpm file has?
- How do I update Ubuntu Linux softwares?
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!
Tags: cheat sheet, enterprise linux, fedora linux, hat package, how to install rpm file, install rpm file, install rpm file linux, installation howto, installing rpm files, novell suse linux, red hat enterprise, redhat install rpm file, rhel install rpm file, rpm command, rpm uvh, update rpm file



Today at 12:32 pm (4 hours ago)
it is really knowlegeable website.