List of Group Install Names [Not Resolved]

General support questions
Post Reply
gw1500se
Posts: 191
Joined: 2012/05/07 13:53:35

List of Group Install Names [Not Resolved]

Post by gw1500se » 2014/11/12 02:43:09

I am trying to set up a kickstart file with the programs I want to install. The problem I am having is that I cannot come up with the right names to use for groups (many equivalent package names in CentOS 7 are apparently different from Centos 6). I have not yet installed CentOS 7 so I don't know how to get the acceptable names when I am on a CentOS 6 server. I thought I could simply go to a mirror site but I cannot come up with the right value for $releasever. Can someone tell me what the correct URL is or post a link where I can find all the package names acceptable in a kickstart file? TIA.
Last edited by gw1500se on 2014/11/13 23:57:14, edited 2 times in total.

vanecka
Posts: 45
Joined: 2010/01/28 21:05:11
Location: University of the Free State - South Africa
Contact:

Re: List of Group Install Names

Post by vanecka » 2014/11/12 05:49:46

On a installed server, you can execute:

Code: Select all

yum group list
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
 * base: mirror.ufs.ac.za
 * extras: mirror.ufs.ac.za
 * updates: centos.spd.co.il
Available environment groups:
   Minimal Install
   Infrastructure Server
   File and Print Server
   Basic Web Server
   Virtualization Host
   Server with GUI
   GNOME Desktop
   KDE Plasma Workspaces
   Development and Creative Workstation
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Graphical Administration Tools
   Legacy UNIX Compatibility
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management
Done



But seeing that you don't have a server installed yet, you can download the XXXXXXXXXX-xomps.xml file and inspect it:

Code: Select all

wget http://mirror.ufs.ac.za/centos/7/os/x86_64/repodata/2bc0054a9f0f4cd3d2806d983edbe3d0dfc484d9f275d12be79eb67a040ba942-c7-x86_64-comps.xml -O comps.xml
cat comps.xml |grep "<id>" |sed -e "s|<id>||" -e "s|</id>||g" -e "s| *||g"|sort -u

gw1500se
Posts: 191
Joined: 2012/05/07 13:53:35

Re: List of Group Install Names

Post by gw1500se » 2014/11/13 23:32:46

Just what I needed. Thanks.

gw1500se
Posts: 191
Joined: 2012/05/07 13:53:35

Re: List of Group Install Names [Not Resolved]

Post by gw1500se » 2014/11/13 23:59:45

I guess I typed too soon. While the suggestion gave me a list of groups, they are apparently inaccurate. For example, one of the output groups was:

gnome-desktop-environment

However, when I put this in my kickstart file:

@gnome-desktop-environment

the installer tells me that package is not available. There were several others as well. Is it possible the downloaded file is the wrong version?

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: List of Group Install Names [Not Resolved]

Post by avij » 2014/11/14 09:13:12

Perhaps this helps:

Code: Select all

# yum group list ids --disablerepo=\* --enablerepo=base
Loaded plugins: fastestmirror, priorities
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
 * base: ftp.funet.fi
Available environment groups:
   Minimal Install (minimal)
   Infrastructure Server (infrastructure-server-environment)
   File and Print Server (file-print-server-environment)
   Basic Web Server (web-server-environment)
   Virtualization Host (virtualization-host-environment)
   Server with GUI (graphical-server-environment)
   GNOME Desktop (gnome-desktop-environment)
   KDE Plasma Workspaces (kde-desktop-environment)
   Development and Creative Workstation (developer-workstation-environment)
Available Groups:
   Compatibility Libraries (compat-libraries)
   Console Internet Tools (console-internet)
   Development Tools (development)
   Graphical Administration Tools (graphical-admin-tools)
   Legacy UNIX Compatibility (legacy-unix)
   Scientific Support (scientific)
   Security Tools (security-tools)
   Smart Card Support (smart-card)
   System Administration Tools (system-admin-tools)
   System Management (system-management)
Done

gw1500se
Posts: 191
Joined: 2012/05/07 13:53:35

Re: List of Group Install Names [Not Resolved]

Post by gw1500se » 2014/11/14 10:51:02

Thanks but as I said I don't have a CentOS 7 server installed yet so all I get are the CentOS 6 repository results which I've already determined are different. However, it occurs to me that perhaps the Everything ISO (which is what I am using) does not really contain everything. Where is the equivalent file on that ISO that will give me a definitive result of the packages on it? TIA.

gw1500se
Posts: 191
Joined: 2012/05/07 13:53:35

Re: List of Group Install Names [Not Resolved]

Post by gw1500se » 2014/11/14 22:57:25

Well this is confusing. I found the file on the ISO and have the same problem. If the group shows up there, why am I getting an error from kickstart saying it is not available?

User avatar
TrevorH
Forum Moderator
Posts: 29069
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: List of Group Install Names [Not Resolved]

Post by TrevorH » 2014/11/14 23:13:34

I suspect it's because the comps.xml file <id> tag is not actually the tag that you want. In my brief perusal of it, it looks to me like it's the next line that contains the name of the group you want so you need to grep for <id> but catch the following line and then exclude everything except tags with <name> in them. This is not perfect but it sort of works...

Code: Select all

cat /var/www/html/mirrors/CentOS-7-x86_64/repodata/2bc0054a9f0f4cd3d2806d983edbe3d0dfc484d9f275d12be79eb67a040ba942-c7-x86_64-comps.xml | grep -A1 "<id>" | grep "<name>" | sed -e "s|<name>||" -e "s|</name>||g" |sort -u
These group names have embedded blanks in them so I had to amend the sed command too. So for the <id> tag for gnome-desktop-environment, the name of the group from the tag that immediately follows it is "Gnome Desktop".
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”