wiki:DownloadPerlbrew
Last modified 2 years ago Last modified on 02/23/12 20:12:00

The combination of perlbrew http://perlbrew.pl and cpanminus http://search.cpan.org/dist/App-cpanminus/lib/App/cpanminus.pm allows you to easily build your own Perl installation and add additional CPAN programs (including Padre) without bothering to setup a CPAN client.

perlbrew is a tool to manage multiple perl installations in your $HOME directory. They are completely isolated perl universes. This approach has many benefits:

  • No need to run sudo to install CPAN modules, any more.
  • Try the monthly released new perls.
  • Learn new language features.
  • Test production code.
  • Leave vendor perl (the one that comes with OS) alone

cpanminus is a script to get, unpack, build and install modules from CPAN and does nothing else. It's dependency free (can bootstrap itself), requires zero configuration, and stands alone. When running, it requires only 10MB of RAM.

The websites of both project explain how to install them. Once the perlbrew and cpanminus is setup, you can install Padre by simply typing "cpanm Padre" in a shell.

Additionall howtos (by a Padre developer), can be found below. The examples were taken from a Debian/Ubuntu? and Solaris system, but it's applicable to other systems as well: