perlbrew is a program to automate the building and installation of multiple versions of Perl in your $HOME directory.
Questions tagged [perlbrew]
148 questions
6
votes
1 answer
How can Install multiple Perl versions without them tripping over each other's XS modules?
I would like to install several different versions of perl in my home directory. I tried using App::perlbrew, but XS modules from one version were causing segfaults in the other version. Is there any way to install multiple versions of perl and have…

Ryan C. Thompson
- 40,856
- 28
- 97
- 159
6
votes
3 answers
Install another Perl in Linux?
In our development environment, another team is using default Perl. So we shouldn't touch it. How do I install another Perl? How do I install Perl modules using CPAN?

Naghaveer R
- 2,890
- 4
- 30
- 52
6
votes
5 answers
Installing perlbrew: Failed to retrieve patchperl executable
When I try to install perlbrew on Mac OS X v10.9 (Mavericks) and MacPorts, this is what happens:
~$ curl -L http://install.perlbrew.pl | bash
% Total % Received % Xferd Average Speed Time Time Time Current
…

clt60
- 62,119
- 17
- 107
- 194
6
votes
4 answers
How to use perlbrew with zsh or bash?
Now I'm really confused about perlbrew...
In perlbrew.pm I see the following:
if ($shell =~ /\/zsh\d?$/) {
$shell_opt = "-d -f";
#
}
elsif ($shell =~ /\/bash$/) {
$shell_opt = "--noprofile --norc";
…

kjo
- 33,683
- 52
- 148
- 265
6
votes
2 answers
What's the recommended way to use a non-system perl for a web app?
I want to run a Catalyst application on my web server, which has system perl v5.10. I want to use at least v5.12 for the app., and I don't want to meddle with the system perl.
Our sysadmin insists that the app. be run by a non-shell user (such as…

djh
- 93
- 5
5
votes
2 answers
Error installing perl using perlbrew on Big Sur
I'm trying to install perl version 5.33.4 in my macOS environment using perlbrew. I cannot comprehend why it fails during installation.
I started installing perlbrew using \curl -L https://install.perlbrew.pl | bash, then I added in my zshenv this…

Flavio Del Grosso
- 490
- 2
- 7
- 21
5
votes
1 answer
systemd service for a perlbrew application?
My coworker wrote a Dancer psgi application called "Newlands" that makes use of perlbrew. I am trying to get the application to start up on system start using systemd. I have this service…

Josh Rosenberg
- 53
- 5
5
votes
2 answers
How to pass compile options to perl using plenv or perlbrew
I have one machine that runs Windows 10 with Bash on Ubuntu on Windows. It uses some kind of FUSE filesystem that has no proper hard link support.
Because of this, a typical perl compilation fails. If I want to compile, I need to do:
echo…

MichielB
- 4,181
- 1
- 30
- 39
5
votes
2 answers
Is there a non-global equivalent of perlbrew?
I'm using perlbrew right now to manage multiple versions of perl, but perlbrew is global. If I do perlbrew switch perl-5.10.1 in any shell, then all shells and scripts will now be using perl version 5.10.1. There is no isolation. Is there any way to…

Ryan C. Thompson
- 40,856
- 28
- 97
- 159
5
votes
2 answers
installing modules when using perlbrew
I am trying to use perlbrew to run a set of perl scripts. When I try installing dependencies for these perl scripts, they are installed into my system's perl version (5.18.X) and not the version I want to use (5.10.1). I have tried several…

mrk
- 51
- 4
5
votes
1 answer
Perlbrew list and wrong version number
I installed two version of Perl using --as (naming the version with the major number only)
5.20.0 installed as 5.20 and
5.20.0 with threading installed as 5.20t
This is the output of perlbrew list
* 5.20 (5.20.0)
5.20t (5.20.0)
I then upgraded…

Matteo
- 14,696
- 9
- 68
- 106
5
votes
2 answers
Perlbrew install perl takes forever, just install already-compiled perl
perlbrew install perl compiles and runs all tests which takes forever on my machine to install (>60 mins). Is it possible to install pre-built-and-test-run perl using perlbrew like apt-get does for linux packages to save time?

alpha_cod
- 1,933
- 5
- 25
- 43
5
votes
1 answer
Using perlbrew is it possible to do multiple installs by architecture?
I would like to be able to install multiple versions of Perl but I need to have them by architecture as well.
I know that I can use perlbrew to get installs by version: 5.10.1, 5.12.3, 5.16.0, etc. I couldn't find a way to also have installs by…

gizmo mathboy
- 65
- 4
5
votes
1 answer
Why does Perlbrew launch bash on Mac OS X Lion?
When I run...
perlbrew switch perl-5.16.0
...I get...
A sub-shell is launched with perl-5.16.0 as the activated perl. Run 'exit' to finish it.
...then a bash prompt appears.
Is this expected behavior?
If not, how can I fix it?

cfoster
- 61
- 3
4
votes
1 answer
Can't install perl with perlbrew
I encountered the error when install perl-5.14.2 with perlbrew.
On Ubuntu11.10(64-bit), I try
$ perlbrew install perl-5.14.2 -Dperlibs='-lm -lc' -Dusethreads -Dplibpth=/usr/lib/x86_64-linux-gnu
and got the error
IO.xs: In function…

KOZAKI Tsuneaki
- 41
- 3