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
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With