Blog

Posted 2008/03/11

Building Debian packages from CPAN

This is a handy way to make Debian packages straight out of CPAN.
apt-get install dh-make-perl gzip unzip tar wget
dh-make-perl --build --cpan XML::TreePP
Where 'XML::TreePP' is the name of the module you are after. Look in your working directory and install the deb using dpkg.