在CentOS7的yum源中,控制group安装的xml配置文件位置为:
https://mirrors.163.com/centos/7.6.1810/os/x86_64/repodata/aced7d22b338fdf7c0a71ffcf32614e058f4422c42476d1f4b9e9364d567702f-c7-x86_64-comps.xml
即 xxx-comps.xml
如果创建yum源时候,需要group安装,使用如下命令:
[root@localhost ~]# createrepo -g xxx-comps.xml xxx-repo
createrepo
命令由yum install createrepo
安装
yum group相关命令
列举
[root@localhost ~]# yum grouplist
安装
[root@localhost ~]# yum groupinstall "GNOME Desktop"
删除
[root@localhost ~]# yum groupremove "GNOME Desktop"