Installing modules from CPAN on Debian

Problem: I do this too seldom to remember it without a note like this page

Find a module that you want on the net. Check that that module is not already packaged by Debian. In the examples below I use the module File::Slurp (see this article).

$ dpkg -l "lib*perl" | grep lurp
$ dh-make-perl --install --cpan File::Slurp

That will create the .deb in the current directory. Install with dpkg and enjoy!

comments powered by Disqus


Back to the index

Blog roll

R-bloggers, Debian Weekly
Valid XHTML 1.0 Strict [Valid RSS] Valid CSS! Emacs Muse Last modified: 2007-01-01