[pm-h] Linux Distribution Selection

Matthew Dees matt at lessthan3.net
Sat Jan 9 09:01:56 PST 2016


For redhat systems you can use software collections (which are funded and
maintained by redhat) for getting better versions of perl.

for example, if you 5.20 on c6 or c7, you can use the following packages:
https://www.softwarecollections.org/en/scls/rhscl/rh-perl520/

or 5.16:
https://www.softwarecollections.org/en/scls/rhscl/perl516/

There are some extra bits you'll have to do your shebang to ensure your
scripts work properly, either writing your scripts with "#!/usr/bin/env
perl" and using the scl command to enable the correct version of perl or
specifying the full path to the perl executable
"/opt/redhat/rh-perl520/root/usr/bin/perl" in the shebang.

If you're doing an /opt install, might as well use one where someone has
already done the work for you.


On Sat, Jan 9, 2016 at 10:46 AM, Steven Lembark via Houston <houston at pm.org>
wrote:

>
> Then expect to install Perl: RH uses (last I looked) pre-5.16
> versions compiled for binary compat with 5.00503 (i.e., horrific).
>
> Simplest approach I've found is installing into, say, /opt/perl5/5.22.
> At that point you can symlink 5.22/* . in /opt/perl5 [recall that
> linux switched to SVr4 filesytem ~15 years ago]. Point is that you can
> test an upgrade to the next version and upgrade the system in one step
> with: cd /opt/perl5 && rm * && ln -fs 5.X/* .;
>
> In normally keep /opt/bin/ full of symlinks to ../<whatever>/bin/*
> which includes perl5, perl6, NeXS spreadsheet. At that point my
> PATH='/opt/bin:/usr/bin:/bin' and I don't have to shuffle the path
> every time I add a new product to /opt.
>
> enjoi
>
> --
> Steven Lembark                                           3646 Flora Pl
> Workhorse Computing                                 St Louis, MO 63110
> lembark at wrkhors.com                                    +1 888 359 3508
> _______________________________________________
> Houston mailing list
> Houston at pm.org
> http://mail.pm.org/mailman/listinfo/houston
> Website: http://houston.pm.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/houston/attachments/20160109/ab488237/attachment-0001.html>


More information about the Houston mailing list