as00060 has asked for the wisdom of the Perl Monks concerning the following question:
Hello All,
First, I find it very surprising that after the installation of Fedora OS, I couldn't find Perl on it, when I fire the command "perl -v", it returns " command not found". So, really not sure if I have done any mistake, as the OS installation was successful with no errors, I have given 22 GB disk space to the OS in my Oracle VirtualBox.
Second, I downloaded the ActivePerl-5.20.2.2002-x86_64-linux-glibc-2.15-299195.tar from perl.org. extracted it, and fired the command
# tar -xvf ActivePerl-5.20.2.2002-x86_64-linux-glibc-2.15-299195.tar
It went fine, then I fired the command
# ./install.sh
There was some interactive questions including "Enter top level directory for install? [/opt/ActivePerl-5.20]"
Since I wanted to install/configure the Perl under following path
/opt/perl/ActivePerl-5.20
So, I have given the path, and hit enter, it progressed without any flaws, and installation was success, and I got the following directories.files in the above path.
[root@fedora ActivePerl-5.20]# ll total 24 drwxr-xr-x. 2 root root 4096 Jul 19 14:44 bin drwxrwxr-x. 2 root root 4096 Sep 20 02:13 etc drwxr-xr-x. 8 root root 4096 Sep 20 02:13 html drwxr-xr-x. 101 root root 4096 Jul 19 14:44 lib drwxr-xr-x. 4 root root 4096 Jul 19 12:45 man drwxr-xr-x. 3 root root 4096 Jul 19 12:44 site
I then went to .bash_profile, and set the env variable as
PATH=/opt/perl/ActivePerl-5.20
However,I could see the following path already mentioned in the above path
PATH=$PATH:$HOME/bin
I had commented the path before I put mine .
Size to /opt is 4 GB.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Issue with ActivePerl installation on Fedora 20
by Corion (Patriarch) on Sep 20, 2015 at 07:12 UTC | |
by as00060 (Novice) on Sep 20, 2015 at 12:23 UTC | |
by syphilis (Archbishop) on Sep 20, 2015 at 13:47 UTC | |
|
Re: Issue with ActivePerl installation on Fedora 20
by RichardK (Parson) on Sep 20, 2015 at 10:44 UTC | |
|
Re: Issue with ActivePerl installation on Fedora 20
by flexvault (Monsignor) on Sep 20, 2015 at 18:56 UTC | |
by as00060 (Novice) on Sep 26, 2015 at 04:06 UTC | |
|
Re: Issue with ActivePerl installation on Fedora 20
by u65 (Chaplain) on Sep 20, 2015 at 10:30 UTC |