View Single Post
  #1 (permalink)  
Old 06-15-2007, 09:50 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 691
Thanks: 15
Thanked 17 Times in 16 Posts
Rep Power: 9
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default How do I install or upgrade an Linux RPM package?

RPM Package Manager (originally Red Hat Package Manager, abbreviated RPM) is a package management system. The name RPM refers to two things: a software package file format, and a free software tool which installs, updates, uninstalls, verifies and queries software packaged in this format. RPM was intended primarily for Linux distributions; the file format RPM is the baseline package format of the Linux Standard Base.

RPM is Package Manager for
  1. Redhat
  2. Suse
  3. CentOS
  4. Fedora
  5. and many other Linux distributions

From the man page:
Quote:
rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages.
Install RPM package / file
To install a new package use command
Code:
rpm -ivh package.rpm
Install RPM package from internet
To install a new package from internet or over network use yum command:
Code:
yum install package-name
Upgrade RPM package
To upgrade an RPM package use command:
Code:
rpm -Uvh package.rpm
Suggested readings
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote