Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between rpm -ivh and rpm -Uvh

Tags:

linux

rpm

Hi i am newbie in linux can anyone explains me the difference between

rpm -ivh

and

rpm -Uvh

like image 724
zaree Avatar asked Jan 06 '15 07:01

zaree


People also ask

What is the difference between RPM and SRC RPM?

rpm file is the installation package for a program ready to run. You may want to install the . src. rpm program if you want to build yourself the program, for example, to enable some functionality not enabled in the distributed .

What is noarch in RPM?

Adjective. noarch (not comparable) (computing) Used by the RPM Package Manager to mark software packages that contain only content, such as graphics, documentation or similar data that can be used on any architecture.

What is source RPM?

A source RPM captures the source code and patches as they were at RPM build time. On RPM-based systems (CentOS, Red Hat Enterprise Linux, Oracle Linux, and many more) source RPMs are RPM files that contain a tarball of source code, patches, auxiliary files that are used during the build process, and a .


1 Answers

Check out documentation (man page) of rpm.

i - install (This installs a new package)
v - verbose (using or expressed in more words than are needed)
h - hash (Print 50 hash marks as the package archive is unpacked)
U - upgrade (This upgrades or installs the package currently installed to a newer version. This is the same as install, except all other version(s) of the package are removed after the new package is installed)

like image 147
Chankey Pathak Avatar answered Sep 20 '22 20:09

Chankey Pathak