Sunday, December 22, 2013

Install Catalyst

1. Initialize cpan

cpan> o conf init

2. Install CPAN::SQLite and LWP

cpan[4]> install CPAN::SQLite LWP YAML Test::Output Test::LeakTrace Algorithm::C3 SUPER Module::Refresh Data::Visitor Test::Builder Specio IO::String

3. Switch use_sqlite if it was not

cpan> o conf use_sqlite 0
cpan> o conf commit
cpan> reload index
cpan> install CPAN::SQLite
cpan> o conf use_sqlite 1
cpan> o conf commit

4. Install Catalyst::Runtime Catalyst::Devel

cpan[4]> install Catalyst::Runtime Catalyst::Devel

5. Check Installation


[catalyst@catalyst ~]$ perlbrew list
  perl-5.6.2
  perl-5.8.9
  perl-5.10.1
  perl-5.12.5
  perl-5.14.4
  perl-5.16.3
  perl-5.18.1
  perl-5.19.7
[catalyst@catalyst ~]$ perlbrew use perl-5.8.9

A sub-shell is launched with perl-5.8.9 as the activated perl. Run 'exit' to finish it.

bash-4.1$ source perlbrew.sh
[perl-5.8.9] catalyst@catalyst ~$ [ 164 ]>> : perl -MCatalyst::Runtime -e 'print Catalyst::Runtime->VERSION'
5.90052[perl-5.8.9] catalyst@catalyst ~$ [ 165 ]>> :


No comments:

Post a Comment