Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-02-2014, 01:35 AM   #1
Registered: Aug 2009
Posts: 539

Rep: Reputation: 33
[yum] How to update a package to a certain version?

The installed version of package for example is the
Installed Packages
hibernate4-infinispan-eap6.noarch           4.2.7-8.SP4_redhat_1.1.ep6.el5             installed
Available Packages
hibernate4-infinispan-eap6.noarch           4.2.7-3.3.SP1_redhat_3.ep6.el5             proactiv-jbappplatform-6-x86_64-server-5-rpm-20140925
hibernate4-infinispan-eap6.noarch           4.2.7-8.SP4_redhat_1.1.ep6.el5             proactiv-jbappplatform-6-x86_64-server-5-rpm-20140925
hibernate4-infinispan-eap6.noarch           4.2.7-9.SP5_redhat_1.1.ep6.el5             proactiv-jbappplatform-6-x86_64-server-5-rpm-20140925
hibernate4-infinispan-eap6.noarch           4.2.14-2.SP1_redhat_1.1.ep6.el5            proactiv-jbappplatform-6-x86_64-server-5-rpm-20140925
hibernate4-infinispan-eap6.noarch           4.2.14-8.SP3_redhat_1.1.ep6.el5            proactiv-jbappplatform-6-x86_64-server-5-rpm-20140925
[root@s001c1001 ~]#
But I just want to update this package to version 'hibernate4-infinispan-eap6.noarch 4.2.7-9.SP5_redhat_1.1.ep6.el5'.

How can I do that?

I've tried using following commands but fails.
yum update hibernate4-infinispan-eap6-4.2.7-9.SP5_redhat_1.1.ep6.el5
yum install hibernate4-infinispan-eap6-4.2.7-9.SP5_redhat_1.1.ep6.el5
Any idea?
Old 12-02-2014, 02:26 AM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Always is recommended to upgrade altest available version. Not sure why you interested to install some other version. Anyway if you want to do that download the particular rpm and install it manually.
Old 12-02-2014, 05:15 AM   #3
Registered: Aug 2009
Posts: 539

Original Poster
Rep: Reputation: 33
Thanks for the reply.

I've found out the solution as follow:

yum update-to my-package-certain-version


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I remove a specific version of a package with yum? rokyo Linux - Software 3 09-25-2015 10:15 AM
yum - install particular version of a package? neiljt Linux - Software 8 06-23-2014 05:41 PM
Package update using YUM geekslinux Red Hat 2 09-13-2013 02:36 AM
yum the stubborn yum; not allowing to update any package lazer00 Linux - Software 1 03-24-2011 08:41 PM
How to install specific version of a package using yum? yuriy Linux - Newbie 1 09-26-2008 10:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration