Skip to content
atvrager edited this page Dec 4, 2010 · 3 revisions

Acoustics requires the following Perl modules:

SQL::Abstract::Limit
CGI::Session
JSON::DWIW
CGI::Simple
File::Find::Rule
List::MoreUtils
Config::Tiny
Log::Log4perl
Try::Tiny
Data::Phrasebook
DBI
DBD::mysql
Net::LastFM::Submission (optional)
Mouse
(from a fresh debian sid install)

On a Linux system, I recommend using your package manager to install as many of these as possible. The module ‘Foo::Bar’ would be called ‘libfoo-bar-perl’ in Debian, and ‘perl-Foo-Bar’ in Fedora.

For the remainder, you must use the CPAN client. You can use the traditional ‘cpan’, the more advanced ‘cpanplus’, or (probably the easiest but less tested overall) ‘cpanminus’.

For ‘cpanminus’, you can either download http://xrl.us/cpanm and run this with Perl, or, in Fedora, install the package ‘cpanminus’.

You can install the module Foo::Bar using:

cpanm Foo::Bar # for cpanm
cpan Foo::Bar # for CPAN
cpanp install Foo::Bar # for cpanplus
Clone this wiki locally