Installing and upgrading RPM packages
To install an RPM package called package-2.3.4.rpm:
# rpm -i package-2.3.4.rpm
If you want to upgrade installed package to the new version, you use -U option (-U upgrade).
For example – you have package-2.3.4.rpm installed and want to upgrade it:
# rpm -U package-2.3.4.rpm