Skip to content
Build and install perls
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE reinit Dec 22, 2019
perl-install prefer xz Dec 23, 2019


Build and install perls.

This is similar to perl-build. While perl-build is written in perl, perl-install is written in shell script.

perl-install also provides plenv install command.


# If you have git, then
git clone

# If you don't have git, but wget/tar, then
wget -o perl-install-master.tar.gz
tar xf perl-install-master.tar.gz

If you want to use perl-install as a plenv plugin, then change the target directory:

git clone $(plenv root)/plugins/perl-install
# Now you have `plenv install` command powered by perl-install

Note that if you already have perl-build in your plenv plugin directory, then remove it first.


❯ perl-install --help
Usage: perl-install [options] perl_version prefix

  -A, -D, -U       set perl configure options
  -l, --list       list stable perl versions, and exit
  -L, --list-all   list all perl versions, and exit
  -j, --jobs       set make --jobs option
  -h, --help       show this help
      --version    show perl-install's version
      --noman      do not generate man pages, i.e, set -Dman1dir=none and -Dman3dir=none
      --nopatch    do not apply Devel::PatchPerl
      --test       run test
      --work-dir   set work directory

  $ perl-install -l
  $ perl-install 5.30.1 ~/perl
  $ perl-install 5.30.1 ~/perl-shrplib -Duseithreads -Duseshrplib


To use perl-install, you need:

  • curl/wget
  • tar
  • patch

To build perl, you need:

  • make
  • c compiler, such as gcc
  • c headers


This software is copyright (c) 2019 by Shoichi Kaji

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

You can’t perform that action at this time.