Skip to content

perlbrew install skaji relocatable perl

Kang-min Liu edited this page Oct 4, 2024 · 1 revision

Perlbrew install skaji-relocatable-perl

skaji/relocatable-perl is a binary release of perl, provided by Shoichi Kaji, or SKAJI on CPAN, the author of cpm.

Since Perlbrew 1.00, we could conveniently install skaji-relocatable-perl by doing:

perlbrew install skaji-relocatable-perl-5.40.0.0

When the prefix "skaji-relocatable-perl-" is detected, the installation process would be routed to download the binary build for current OS and arch, instead of building from source code.

Notice that it has a longer version number that p5p perl, because some minor changes it sometimes required for rebuilding the binaries.

The list of exact version numbers can be found on this page:

Lhttps://github.com/skaji/relocatable-perl/releases

Usually a ".0" suffix would suffice, sometimes there is a ".1" or even ".2" release, but not very often.

The skaji-relocatable-perl releases are build entirely on GitHub infra. It's built with the userelocatableinc option enabled by default, hence the name.

For perlbrew to install any binary releases, the userelocatableinc must be enabled, to basicaly support installation in your $HOME folder -- a folder name that is unique to for each user and cannot be known in advance.

skaji/relocatable-perl seems to be a very good fit. With Perlbrew 1.00 we make it possible to install this particular binary release. It is marked as experimental in the release note, with the intention that we may just be collecting problems for this particular change. But that's totally cool too. Problem-solving, that's what we do.

Clone this wiki locally