Linux-Noob Forums

Full Version: check available version of package for upgrade
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Hi,

 

When doing an upgrade from yum, i just key-in "yum upgrade packagename". But what was installed is a different version, which I assume is the latest available for that package. Is there a way I can search or see what are the available versions of a certain package? just in case I want an upgrade to certain version, but not to the lastest one.

 

Thanks.


try

Code:
yum update  && yum search appname





it gives the list of packages, but the version isn't there. say for example, php.

 

# yum update && yum search php

 

current versions is - PHP 5.1.6 .

 

I want to upgrade it to php5.2.x.. but before doing so, I want to see what's the exact version available before I will proceed with the upgrade.