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?
Perlbrew install perl takes forever, just install already-compiled perl
perlbrew
by its nature is going to do a build that is appropriate for your OS and architecture. You have to rely on your OS vendor for pre-built perls, which is as it should be.
That said, you can speed things up considerably with the -n
flag to skip the tests. If you have multiple cores, the -j
flag will build things in parallel where possible.
Try timing perlbrew install -n -j 5 perl-5.20.0
and see how it compares to the default method.
No, not using perlbrew
(that's not its purpose), but you could using apt-get
, yum
, rpm
, etc (that is their purpose).
© 2022 - 2024 — McMap. All rights reserved.
perlbrew install --notest
which saves a considerable amount of time, if you're confident that nothing will go wrong. Good use of the-j
flag will also make things go faster if you have multiple cores. – Pinonperlbrew install -j 5 --notest perl-5.20.0
completes in under 2 minutes on my machine. – Pinon