-
Notifications
You must be signed in to change notification settings - Fork 4
Install with Perlbrew
Introduction: In this document we will show you how to install a standalone version of Perlbrew for the new user ic6.
-
As root user
$ adduser ic6
$ su - ic6
-
Using curl install perlbrew quickly. Copy the following line into your terminal shell.
$ curl -L http://install.perlbrew.pl | bash
-
Initialize perlbrew
$ echo "source ~/perl5/perlbrew/etc/bashrc" >> ~/.bash_profile
-
Update shell
$ source ~/.bash_profile
-
List available Perl versions
$ perlbrew available
perl-5.18.1
perl-5.16.3
perl-5.14.4
... -
Install Perl
$ perlbrew install perl-5.18.1
-
Change Perl for ic6 user to perl-5.18.1
$ perlbrew switch perl-5.18.1
-
Verify ENV
$ perl -V
-
Install cpanm
$ perlbrew install-cpanm
-
Install necessary modules
$ cpanm Dancer2 Dancer2::Plugin::Interchange6 Interchange6 Interchange6::Schema
Read more on perlbrew and other install methods
Perlbrew offical site