LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [yum] How to list the version of several components with one command (https://www.linuxquestions.org/questions/linux-software-2/%5Byum%5D-how-to-list-the-version-of-several-components-with-one-command-4175533568/)

thomas2004ch 02-10-2015 03:31 AM

[yum] How to list the version of several components with one command
 
We use the Jboss EAP 6, which contains about 10 components and each may have different version. Till now I check/list the version one after the other with

Code:

yum info component_1
...
yum info component_n

I wonder if it's possible to list the version of all these components in one command?

chrism01 02-10-2015 05:39 AM

Just put the cmds into a shell script and run that

nobulus 02-12-2015 11:36 AM

Yes it is possible. You can also restrict it to installed packages:

$ yum info installed component_1 ... component_n

Why didn't you just try it?


All times are GMT -5. The time now is 06:24 AM.