LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install rpm (https://www.linuxquestions.org/questions/linux-newbie-8/install-rpm-125001/)

raysr 12-11-2003 03:22 PM

install rpm
 
I downloaded Opera as an rpm and I don't know how to open or install it. Help?:newbie:

david_ross 12-11-2003 03:34 PM

Like this:
rpm -ivh opera-xxx.rpm

Modify 12-11-2003 03:54 PM

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.

raysr 12-11-2003 05:18 PM

Thanks for the reply!:newbie:

Longinus 12-11-2003 10:04 PM

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 ^_^;

Modify 12-11-2003 10:07 PM

-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 (:

Longinus 12-11-2003 10:55 PM

ah thanks Modify


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