Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-16-2003, 12:08 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 22

Rep: Reputation: 15
rpm -Uvh or -ivh?

Does -Uvh check for previous versions of the rpm and upgrades as nessesary?

Or does it do the same job as -ivh and installs just the same?

Old 11-16-2003, 12:59 PM   #2
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
from man rpm:

rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...

This upgrades or installs the package currently installed to a newer ver-
sion. This is the same as install, except all other version(s) of the
package are removed after the new package is installed.


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
rpm -ivh vs. rpm -Uvh Eklipz Fedora 6 12-02-2013 01:51 AM
after rpm -ivh then what brucewayne3210 Linux - Software 2 05-26-2004 07:24 PM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
path for directory while doing rpm -ivh newbielinux Linux - Newbie 0 02-27-2004 08:47 AM
rpm -Uvh apache.... fail and shutdown q jefftrwmy Linux - Software 2 04-18-2002 07:22 PM

All times are GMT -5. The time now is 09:59 AM.

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