[root@localhost ~]#yum install -y php-gd
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
=============================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================
Installing:
php-gd i686 5.3.3-26.el6 base 105 k
Installing for dependencies:
libXpm i686 3.5.10-2.el6 base 50 k
Dependency Installed:
libXpm.i686 0:3.5.10-2.el6
Complete!
[root@localhost ~]# rpm -qa | grep php-gd
php-gd-5.3.3-26.el6.i686
[root@localhost ~]#