2 thoughts on “Install CPAN in Fedora

  1. hello,
    i got the error as follows it can’t locate the package plz help me.
    i installed it in /var/www/cgi-bin path.

    [root@localhost var]# cd ..
    [root@localhost /]# yum install perl-CPAN
    Loaded plugins: refresh-packagekit
    Setting up Install Process
    Parsing package install arguments
    Package perl-CPAN-1.9205-20.fc9.i386 already installed and latest version
    Nothing to do
    [root@localhost /]# cd var
    [root@localhost var]# cd www
    [root@localhost www]# cd cgi-bin
    [root@localhost cgi-bin]# ls
    ATGCgrf.pl sample.html sample.pl sample.pl~ serverinfo.pl
    [root@localhost cgi-bin]# vim ATGCgrf.pl
    [root@localhost cgi-bin]# perl ATGCgrf.pl
    Can’t locate GD/Graph/Pie.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at ATGCgrf.pl line 4.
    BEGIN failed–compilation aborted at ATGCgrf.pl line 4.
    [root@localhost cgi-bin]#

Leave a Reply

Your email address will not be published. Required fields are marked *