Probably the easiest way is to use yum groupinstall which will install all packages in that group plus any dependencies. The syntax is:
Code:
yum groupinstall "groupname"
The group name must be in quotes, and yum grouplist will list all available groups:
Code:
# yum grouplist
Setting up Group Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
yumgroups.xml 100% |=========================| 557 kB 00:01
yumgroups.xml 100% |=========================| 4.6 kB 00:00
Installed Groups:
Administration Tools
Authoring and Publishing
Compatibility Arch Support
DNS Name Server
Editors
Engineering and Scientific
FTP Server
GNOME Desktop Environment
GNOME Software Development
Games and Entertainment
Graphical Internet
Graphics
KDE (K Desktop Environment)
KDE Software Development
Legacy Network Server
Mail Server
MySQL Database
Network Servers
News Server
Office/Productivity
PostgreSQL Database
Printing Support
Server Configuration Tools
Sound and Video
System Tools
Text-based Internet
Web Server
Windows File Server
X Software Development
X Window System
Available Groups:
AptRPM
Compatibility Arch Development Support
Development Tools
Horde-Apps
Legacy Software Development
XFCE-4.2
drbd-heartbeat
Done
[root@Jessie ~]#
So, depending whether you want gnome or kde, do:
Code:
yum groupinstall "X Window System" "GNOME Desktop Environment"
or
Code:
yum groupinstall "X Window System" "KDE (K Desktop Environment)"
Hope that helps 
Ned
EDIT: there's actually a very nice howto on yum here:
http://www.fedoraforum.org/forum/showthread.php?t=25880