X

Install Perl Module Linux | Ubuntu

This guide explains how to install perl modules using CPAN in Linux

  1. Type: perl -MCPAN -e shell;
    • This will take you into the perl cpan shell – if you are promted to answer some questions, just answer them (typically with the default answer – just press enter)
  2. Type: install MODULENAME
    • i.e. Type: install IO::Socket
    • Answer all the questions, generally just use the default (press enter)
    • if something fails and it appears that it should not have, you can try: force install MODULENAME
fsb:
Disqus Comments Loading...