Difference between rpm -i and rpm -U ?

Dan Thurman dant at cdkkt.com
Tue Mar 28 13:11:32 UTC 2006


Folks,

What is the difference between rpm -i and rpm -U ?

If I have a bunch of rpm files and use -i, will it remove
previous versions of packages or will it retain older packages
and install the newer package on top?

I assume -U looks for older packages, removes it if found,
and then installs the newer package?

I just want to make sure that I do no end up with filesystem
bloat choosing the wrong arguments.

Thanks!
Dan




More information about the fedora-list mailing list