Tuesday, November 4, 2014

How to install a group of packages with yum on CentOS

To ensure that all of your software packages are up to date, perform a quick software update on your instance:

# yum update -y

Note: the -y option installs the updates without asking for confirmation. If you would like to examine the updates before installing, you can omit this option.

To see all groups, including hidden groups, run the following command:

# yum grouplist hidden

Use the yum groupinstall command to install multiple software packages and all related dependencies at the same time:

# yum groupinstall -y "Web Server" "MySQL Database" "PHP Support"

No comments: