Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 11 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 at 19:47

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

share|improve this answer

Your Answer

 
discard

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.