Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Intsalling perl 5.10 on centos 6.6

by sundialsvc4 (Abbot)
on Jul 23, 2018 at 18:13 UTC ( #1219126=note: print w/replies, xml ) Need Help??

in reply to Intsalling perl 5.10 on centos 6.6

OS packages are intended to maintain the “official” version of Perl that is installed, say, in /usr/bin, and which might be expected or required by fundamental system-maintenance commands.   (For instance, IIRC most of Red Hat’s maintenance-command structure is built around Perl.)   I would not dare to touch this, for fear of (literally) hosing the entire system.

However, you can always install one-or-more other Perl-interpreter executables, say in /usr/local, and arrange for your $PATH environment-variable to specify this directory first, so that the perl command, when typed-in by you, will run this executable.

In similar fashion, you can install your own CPAN packages into a custom location, and arrange for the $PERL5LIB environment-variable to find it first.

Environment-variable settings are ordinarily established per-user in the .bash_profile file, or, in the Windows environment, in the Registry.

A very good Google-search key would be “Perl in a shared hosting environment,” since this is a very common use-case:   you want to run a Perl-based web site on a shared host but of course you can’t modify the host’s configuration.

Replies are listed 'Best First'.
Re^2: Intsalling perl 5.10 on centos 6.6
by Corion (Pope) on Jul 23, 2018 at 18:17 UTC

    Where in your reply do you actually address the questions of the original poster? Where do you give actionable advice that is applicable to the situation of the original poster?

    Please refrain from posting information that does not have immediate application to the question asked, even if it is correct.

Re^2: Intsalling perl 5.10 on centos 6.6
by yaklichk0719 (Acolyte) on Jul 23, 2018 at 18:41 UTC
    Thank you for your reply. I have installed Perl locally in the root directory under this path /software/perl-5.10.1/. But I do not see the folder bin inside of it. I wonder why? Thank you, Sergey

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1219126]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2019-12-08 21:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found