LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-10-2015, 03:31 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Rep: Reputation: 33
[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?
 
Old 02-10-2015, 05:39 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Just put the cmds into a shell script and run that
 
Old 02-12-2015, 11:36 AM   #3
nobulus
LQ Newbie
 
Registered: Aug 2014
Posts: 3

Rep: Reputation: Disabled
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?
 
  


Reply


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
LXer: GNOME Components Version Clarifications For Ubuntu 12.04 Precise Pangolin LXer Syndicated Linux News 0 02-01-2012 11:30 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
command/script to download all the components of a webpage fedoranew Linux - Software 4 12-07-2009 03:11 AM
Bash command to list installed libraries and version numbers newtovanilla Linux - Newbie 4 07-18-2008 04:49 PM
yum list command bradlumb Linux - Newbie 1 04-16-2006 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:25 AM.

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