This guide explains how to install perl modules using CPAN in Linux
- 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)
- 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