CPAN and the Debian Perl Policy

Perl is famous for its tremendous number of modules ready to use. They can be fetched and installed from the Comprehensive Perl Archive Network (CPAN)

One of the best way to add new modules into your system is to use the program cpan.

Before any manual installation, make sure that these modules are not packaged by Debian. According to the Debian Perl Policy , the Perl modules provided by Debian are located in the following folders :

For the core modules : (provided by perl-base and perl-modules packages)

/usr/lib/perl/version

/usr/share/perl/version

For Debian packed modules :

/usr/lib/perl5

/usr/share/perl5

Concerning the modules installed with cpan command :

/usr/local/lib/perl/version

/usr/local/share/perl/version

 
Advertisements

One thought on “CPAN and the Debian Perl Policy

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s