Install Perl on Fedora

Kevin J. Cummings cummings at kjchome.homeip.net
Wed Jun 25 20:32:28 UTC 2008


Wei, Alice J. wrote:
> Hi, Fedora Users:
> 
>   I am just starting out to use Fedora and learned about installations with the yum function.
>   I have installed Perl 5.10.0-26, and the message shows that it had been installed:
> 
> Updated: perl.i386 4:5.10.0-26.fc9 perl-ExtUtils-MakeMaker.i386 0:6.36-26.fc9 perl-ExtUtils-ParseXS.i386 1:2.18-26.fc9 perl-Module-Pluggable.i386 1:3.60-26.fc9 perl-Pod-Escapes.i386 1:1.04-26.fc9 perl-Pod-Simple.i386 1:3.05-26.fc9 perl-Test-Harness.i386 0:2.64-26.fc9 perl-devel.i386 4:5.10.0-26.fc9 perl-libs.i386 4:5.10.0-26.fc9 perl-version.i386 3:0.74-26.fc9
> Complete!
> 
> However, when I tried to execute a basic hello script in Perl, it tells me
> bash: ./total.pl: /usr/local/bin/perl: bad interpreter: No such file or directory
> 
> It is true that I don't see Perl in this directory, but is it necessary that I have to move my Perl installation?

No, just put a symlink in /usr/local/bin that points to the fedora perl 
at /usr/bin/perl

> Thanks in advance.

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)




More information about the users mailing list