I hope its OK to ask Perl install questions here? If not, my apologies be gentle!
I ran these steps from the CPAN README on install from source:
How to install from source
wget https://www.cpan.org/src/5.0/perl-5.34.1.tar.gz
tar -xzf perl-5.34.1.tar.gz
cd perl-5.34.1
./Configure -des -Dprefix=$HOME/localperl
make
make test
make install
I did all of those steps, and it created 3 dirs under ~root/local: bin, lib, and man , comprising the 5.34 build.
But there the instructions stop. I think there must be another step where either I symlink whatever I find in "which perl" to this dir (probably not , since I don't think everyone should run Perl out of ~root), or I backup and copy over certain files in certain directories.
Can someone please add a "tail" to this guide with the way to make 5.34 the system-wide default for "which perl" ? I've installed Perl years ago, and I thought the "install" step did that for me?
TYVM!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.