If you have previously installed a package via RPM
earlier, and you have found a later version of the software, then you
can use the Upgrade (-U) option to install the newer version.
#
rpm -Uvh package-name.rpm
If you use the -U option as opposed to the -i option,
the original package on the system will be removed, and the new package
installed.
If the package is not installed on the system and you
use the -U option, the package will be installed anyway.
Many people generally use the -U option instead of
the -i option.
Note that a kernel should not be
installed using this option! Make sure that if you are installing a new
kernel via RPM that you do it with the Install option! If it goes well,
you can remove the old kernel later.