-ivh and -Uvh

ne... guhvies at gmail.com
Tue Aug 29 18:43:24 UTC 2006


On 8/29/06, Gayal <gayal.rupasinghe at gmail.com> wrote:
> Wuts the different between rpm -ivh and rpm -Uvh?
Say you have package foobar-1.1 installed.
rpm -ivh foobar-2.1.rpm will install foobar-2.1 alongside
foobar-1.1. So if you do rpm -q foobar, the results will be

foobar-1.1
foobar-2.1

OTOH (On The Other Hand) if you did a rpm -Uvh instead,
foobar-2.1 will replace foobar-1.1. So rpm -q will list only
foobar-2.1.

HTH
ne...
-- 
Registered Linux User # 125653 (http://counter.li.org)
Certified: 75% bastard, 42% of which is tard.
http://www.thespark.com/bastardtest
Now accepting personal mail for GMail invites.




More information about the fedora-list mailing list