LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2003, 03:22 PM   #1
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Rep: Reputation: 31
install rpm


I downloaded Opera as an rpm and I don't know how to open or install it. Help?
 
Old 12-11-2003, 03:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Like this:
rpm -ivh opera-xxx.rpm
 
Old 12-11-2003, 03:54 PM   #3
Modify
Member
 
Registered: Nov 2003
Distribution: Debian 3.0r1
Posts: 55

Rep: Reputation: 15
I actually like to use

rpm -Uvh name-of-rpm.rpm

If its not there, it installs it anyway, but if it is there it upgrades it.
 
Old 12-11-2003, 05:18 PM   #4
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thanks for the reply!
 
Old 12-11-2003, 10:04 PM   #5
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
i have a quick question

what is the diff between

-uvh
and
-ivh

i know little about the command line and the options stuff

heh heh ^_^;
 
Old 12-11-2003, 10:07 PM   #6
Modify
Member
 
Registered: Nov 2003
Distribution: Debian 3.0r1
Posts: 55

Rep: Reputation: 15
-i is install.

-U is upgrade.

As I mentioned, if you use -U, and it doesn't have the RPM already installed, it will install it ("upgrade" from nothing). If its already installed, it will upgrade it.

In my experience, if you use -i with it already installed, it will throw an error.

You can learn more about the rpm command than you care to know by typing "man rpm" in the terminal (:
 
Old 12-11-2003, 10:55 PM   #7
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
ah thanks Modify
 
  


Reply



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
RPM error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 10:25 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration