Why bother with CPAN
. You are using yum
. Make your life easy. This is a quick test I did on my RHEL 6.4 machine:
# uname -a
Linux ip-10-227-20-6 2.6.32-358.14.1.el6.x86_64 #1 SMP Mon Jun 17 15:54:20 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
# yum install perl-GDGraph.noarch
# perl -e 'use GD::Graph'
#
the yum install perl-GDGraph.noarch
command will install below dependency packages:
(1/5): gd-2.0.35-11.el6.x86_64.rpm
(2/5): libXpm-3.5.10-2.el6.x86_64.rpm
(3/5): perl-GD-2.44-3.el6.x86_64.rpm
(4/5): perl-GDGraph-1.44-7.el6.noarch.rpm
(5/5): perl-GDTextUtil-0.86-15.el6.noarch.rpm
And it will install GD::Graph
too :)