Public | Automated Build

Last pushed: 24 days ago
Short Description
self-contained, portable perl binaries
Full Description

relocatable perl

Self-contained, portable perl binaries for x86-64 Linux and OS X.
You can download them from release page.

Since version 5.10, perl can be built with relocatable INC.
If we build perl with -Duserelocatableinc and apply some patches to it,
then we have self-contained and portable perl.


One liner

curl -sSL | bash -s ~/perl

This installs the latest relocatable perl to ~/perl.


If you use plenv,
then plenv-download may be useful:

git clone ~/.plenv/plugins/plenv-download
# download the latest relocatable perl
plenv download latest


Let's say you use OS X. Then:

tar xzf perl-darwin-2level.tar.gz
mv perl-darwin-2level ~/my-favorite-name

That's all. Check out your perl works:

$ ~/my-favorite-name/bin/perl -v
This is perl 5, version 26, subversion 2 (v5.26.2) built for darwin-2level

# cpanm is already installed. Install your favorite cpan modules.
$ ~/my-favorite-name/bin/cpanm LWP::UserAgent

How to build relocatable perls by yourself

Dockerfile and
Docker Hub.


Copyright (C) Shoichi Kaji.

This is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Please note that the artifacts in the release page contains
Perl5, App::cpanminus and App::ChangeShebang.
They have their own copyright and license.

  • Perl5
    Copyright 1987-2015, Larry Wall, GNU General Public License or Artistic License

  • App::cpanminus
    Copyright 2010- Tatsuhiko Miyagawa, licensed under the same terms as Perl.

  • App::ChangeShebang
    Copyright Shoichi Kaji, licensed under the same terms as Perl.

Docker Pull Command
Source Repository