LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-27-2005, 09: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, 09:24 PM   #2
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
http://www.faqs.org/docs/securing/chap3sec20.html
 
Old 06-28-2005, 04:48 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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

Rep: Reputation: 61
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.

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

Rep: Reputation: 46
just type

man rpm

this will show you the manual of rpm

Last edited by heema; 06-28-2005 at 06:31 AM.
 
Old 06-29-2005, 04: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: 0
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
 
  


Reply


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 04:58 AM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 07:12 PM
Can install RPM-package via http in command prompt?? eye Red Hat 2 10-19-2003 11:38 AM
How do I upgrade a package or lib without using rpm or pkgtool? purpleburple Linux - General 4 10-16-2002 09:45 PM
RPM command to re-install a package on top of itself JaseP Linux - General 1 06-24-2002 03:45 AM


All times are GMT -5. The time now is 10:02 PM.

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