CPAN on Debian

Aus crazylinux.de
Zur Navigation springen Zur Suche springen

Building CPAN modules as debian packages When running debian stable, it is very likely that you will require perl modules of new versions.

You can install from back ports, you can install from CPAN, or you can do it the cool way: building CPAN modules as debian packages.

Lets say we want to install the latest version of the module Archive::Zip. We would run:

apt-get install dh-make-perl gzip unzip tar wget
dh-make-perl --build --cpan Archive::Zip

This gives us the file libarchive-zip-perl_1.10-1_all.deb. Then we do:

dpkg -i libarchive-zip-perl_1.10-1_all.deb

To remove the CPAN version and go back to the stable package:

apt-get --reinstall install libarchive-zip-perl

from http://deb.riseup.net/development/cpan-debian-packages/