LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   update for not installed rpm (https://www.linuxquestions.org/questions/linux-newbie-8/update-for-not-installed-rpm-940818/)

sluge 04-20-2012 06:53 AM

update for not installed rpm
 
Is any way to know about rpm's updates without install it? yum check-update checks only for installed packages(

MensaWater 04-20-2012 07:15 AM

yum list <package>

Where package is the name of the package you wish to install.

That will show you any version of the package installed and/or available from the repositories. If you don't have it installed it will show you just the ones available.

By definition it isn't an "update" if an earlier version of the package isn't already installed - it is just an "available package" even though it comes from the same place. The check that prompts you to update only checks for updates to packages installed. There are thousands of possible packages and you really wouldn't want it to show you new versions of things you're not using and don't intend to use.


All times are GMT -5. The time now is 07:17 PM.