LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm -Uvh or -ivh? (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-uvh-or-ivh-116706/)

chri5 11-16-2003 12:08 PM

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?

Thanks,
Chris

megaspaz 11-16-2003 12:59 PM

from man rpm:

Quote:

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.


All times are GMT -5. The time now is 03:54 PM.