Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
This is on a machine without yum. – Harley May 27 '11 at 3:52
up vote 34 down vote accepted

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.

share|improve this answer
The vh arguments are optional here. Only -U (or --upgrade) and --oldpackage are necessary. – Dave Mooney Jul 18 '14 at 19:47
rpm -U --force [filename] also allows downgrades – alexander Sep 8 '15 at 17:57

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.