nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

How do I install or upgrade an Linux RPM package?

This is a discussion on How do I install or upgrade an Linux RPM package? within the Getting started tutorials forums, part of the Linux Getting Started category; RPM Package Manager (originally Red Hat Package Manager, abbreviated RPM) is a package management system. The name RPM refers to ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-15-2007, 08:50 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 554
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
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.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How To Upgrade PHP sweta Ubuntu / Debian 0 05-02-2008 11:18 PM
Apply CentOS Linux package security updates from the Internet raj CentOS / RHEL / Fedora 0 04-22-2008 01:53 AM
netbsd package management add delete list packages jerry Getting started tutorials 2 03-24-2008 09:19 PM
Install deb package file howto chiku Linux software 1 01-03-2007 05:06 PM
How to solve apt-get upgrade problem sweta Getting started tutorials 3 01-19-2006 06:21 PM


All times are GMT +5.5. The time now is 07:41 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36