Ask Your Question
0

Installing Specific Version of Package

asked 2012-03-30 16:50:47 -0600

Chetan Patil gravatar image

updated 2012-03-30 17:01:10 -0600

Hi,

I want to install mysql 5.0 on Fedora 16. However Fedora 16 fetches latest version of mysql using Yum.

What are the steps to be followed in order to install specific version of any software package.

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-03-31 07:28:00 -0600

Akshay gravatar image

updated 2012-03-31 07:31:02 -0600

As FranciscoD said Only the latest versions of packages are present in the repository, The only way you can install previous versions or perform version specific installs is to go to the software vendor website Download the older versions or the version you wanna install get the tarball or rpm (depends on provider),but you dont the updates for it that's the biggie here you can get all versions of mysql http://www.mysql.com/downloads/mysql/5.1.html#downloads

edit flag offensive delete link more

Comments

@Chetan Patil yum downgrade can only be used when previous versions are present so perform yum search xyz and if it shows the older versions then you can use it to install older versions yum --allow-downgrade install packagename-versionnumber

Akshay gravatar imageAkshay ( 2012-03-31 22:19:38 -0600 )edit
0

answered 2012-03-31 01:18:58 -0600

FranciscoD_ gravatar image

Well, I don't think you can. Only the latest versions of packages are present in the repository, and that is what Fedora will fetch. You will need to manually get and install the rpm, and to prevent it from being updated, add it to yum.conf. Read man yum.conf on how to exclude it.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-30 16:50:47 -0600

Seen: 2,454 times

Last updated: Mar 31 '12