Upgrading RPMs

Do you want to upgrade the packages to the newer one, with important bug fixes.

#rpm -U <package_name>

For Example, TO upgrade a package , tuxpaint

#rpm -Uvh tuxpaint.i386.rpm

-U can be used in the place of -i install. It doesn’t matter if you’re upgrading a package or installing a new one , it works in both the cases . -U replaces the old package. If you want to have multiple versions of same package, such as gcc, or install several different kernels, don’t use -U, use -i.

Leave a comment