These are commands to install different Desktop environments on Centos7

Gnome

yum groupinstall 'GNOME Desktop'

KDE

yum groupinstall "KDE Plasma Workspaces"

Cinnamon

yum install epel-release
yum --enablerepo=epel install cinnamon

MATE

yum install epel-release
yum --enablerepo=epel groupinstall "MATE Desktop"

XFCE

yum install epel-release
yum --enablerepo=epel groupinstall XFCE