yum grouplist
yum grouplist | less
yum grouplist | less
yum groupinstall "Development Tools"
yum groupinstall "Web Server"
There are a few other Group commands that are worth knowing about:
yum groupinfo "Web Server" | less
yum groupinstall "MySQL Database client"
yum groupinstall "MySQL Database server"
yum groupinstall "PHP Support"
You can also combine groups in one command. So you could type the following command, and then go for coffee:
You can also combine groups in one command. So you could type the following command, and then go for coffee:
yum groupinstall "Web Server" "MySQL Database client" "MySQL Database server" "PHP Support" -y
- yum groupremove "Group Name" – will remove all of the packages in the specified group (but does not remove the dependencies, that would be bad).
- yum groupupdate "Group Name" – updates the packages in the specified group (yum groupinstall would do the same thing)