52

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?

Harley
  • 2,247

2 Answers2

75

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.

Harley
  • 2,247
16

You can also try yum downgrade packagename, depending on the version of yum on your system.

ewwhite
  • 201,205