How to downgrade an RPM on a machine without ‘yum’

rpm

On a machine without yum, I have version 3.2 of a package installed and I have downloaded version 2.4 manually, how do I install the older version?

Best Answer

rpm -Uvh --oldpackage [filename]

--oldpackage allows you to install older versions, -U means "upgrade", but in this case it will just replace the other version. If you use -i instead of -U you will end up with both versions installed.