Installing a specific package version with yum
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Ominous Technology Looping
--
Chapters
00:00 Installing A Specific Package Version With Yum
00:59 Answer 1 Score 1
01:17 Answer 2 Score 19
01:42 Answer 3 Score 0
01:58 Answer 4 Score 2
02:11 Thank you
--
Full question
https://superuser.com/questions/330661/i...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#installer #yum
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Ominous Technology Looping
--
Chapters
00:00 Installing A Specific Package Version With Yum
00:59 Answer 1 Score 1
01:17 Answer 2 Score 19
01:42 Answer 3 Score 0
01:58 Answer 4 Score 2
02:11 Thank you
--
Full question
https://superuser.com/questions/330661/i...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#installer #yum
#avk47
ANSWER 1
Score 19
From the manpage:
MISC
Specifying package names A package can be referred to for install,update,list,remove etc with any of the following: name name.arch name-ver name-ver-rel name-ver-rel.arch name-epoch:ver-rel.arch epoch:name-ver-rel.arch For example: yum remove kernel-2.4.1-10.i686
You may have to manually remove the newer version and then install the older.
ANSWER 2
Score 2
Use the upgrade option and specify the version number:
yum upgrade postgresql-8.2.10
Check the dependencies list before hitting Y. You might need to add other packages to the upgrade list.
ANSWER 3
Score 1
A quick look at the man page revealed no such option. It seems they haven't added that yet; Yum is still a fairly young package manager.
Instead, download and manually install the relevant RPMs.
ANSWER 4
Score 0
I have heard that the smart package manager can do this. (haven't had the opportunity to try it yet). Yum is known not to support downgrading.
smart is available on fedora.