How to install missing Perl modules on Debian

  1. Use aptitude to see if a prepackaged version exists
    • if the module name is Foo::Bar the packaged version will be called libfoo-bar-perl
    • so do 'aptitude search libfoo-bar-perl'
    • or just 'aptitude search foo-bar'
  2. if found, use apt-get to install it
    • 'sudo apt-get install libfoo-bar-perl'
  3. if not found, install from CPAN
    • 'sudo dh-make-perl –install –cpan Foo::Bar'
  4. if that doesn't work for some reason
    • 'sudo cpan Foo::Bar'
 
en/documentation/tutorials/installperldebian.txt · Last modified: 2009/09/07 06:18 by mjray
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki