Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-27-2005, 08:18 PM   #1
Simon Adebisi
LQ Newbie
Registered: Jun 2005
Posts: 6

Rep: Reputation: 0
what is the command to install or upgrade an rpm package???

rpm -????

im a Linux NOOB. will always be.
Old 06-27-2005, 08:24 PM   #2
Registered: May 2005
Posts: 516

Rep: Reputation: 52
Old 06-28-2005, 03:48 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Another good resource is
Old 06-28-2005, 05:26 AM   #4
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
It depends on your distribution. For Mandrake/Mandriva, you should use the control center, or urpmi. And you would benefit from updated your software sources, using easy-urpmi.

Old 06-28-2005, 05:29 AM   #5
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
just type

man rpm

this will show you the manual of rpm

Last edited by heema; 06-28-2005 at 05:31 AM.
Old 06-29-2005, 03:26 AM   #6
Martin Rasch
LQ Newbie
Registered: Jun 2005
Location: Johnson City TN
Distribution: Suse 10.2, 10.3 Fedora Core 5 and Windows XP
Posts: 17

Rep: Reputation: 1
Smile RPM General Use and Commands

From The Menu open a Root Console using the Terminal.

At the Console Prompt Type:
rpm --help
This will give a list of possible commands and Usage for the RPM Manager.
The command for upgrading RPM is:
rpm -Uvh name-of rpm file < Note wild card or * is allowed for command.

The coomand for installing new RPM is:

rpm -ivh name-of rpm file < Note some wild card or * is allowed for command.

The switches are explained in both the Man and Suse Help section's of the System.
For a detailed description go to the menu and select the Help Icon.

Hope this helps

Martin Rasch
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"bash: rpm: command not found" errom when trying to install any package sandeepchau123 Linux - General 16 07-06-2008 03:58 AM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
Can install RPM-package via http in command prompt?? eye Red Hat 2 10-19-2003 10:38 AM
How do I upgrade a package or lib without using rpm or pkgtool? purpleburple Linux - General 4 10-16-2002 08:45 PM
RPM command to re-install a package on top of itself JaseP Linux - General 1 06-24-2002 02:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration