Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-16-2015, 01:42 PM   #1
LQ Newbie
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
How to install group packages in the list of the installed group packages at once

I had list of group package list by
$yum grouplist
And I'm trying to install this all installed packages to another computer at once.
Old 03-17-2015, 09:13 PM   #2
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
First of all you have to put quotes in the group names because they usually have spaces in between. You can do that by using the following command:

cat file_containing_grouplist | sed 's/.*/\"&\"/g' > newfilename
Once you get the new files which contains group list with quotes at beginning and the end of the group name you can run the following:

for i in `cat newfilename`
    yum groupinstall $i -y


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
[SOLVED] How to remove a group of packages? quanta Slackware 5 06-27-2009 07:13 AM
install packages & check the list of installed programs/languages/applications shojaru Linux - Newbie 2 05-22-2009 02:36 AM
[SOLVED] list of packages found in group selection in Kickstart stuart_cherrington Red Hat 3 09-11-2008 10:04 AM
how to install all packages under a group tanveer Linux - General 3 11-26-2007 10:10 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:47 PM.

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