Install CPAN on CentOS

CPAN allows to install perl modules. Use following command to install CPAN: Then configure it using following command: Most of the configuration could be done automatically. So choose that option. To quit the cpan CLI write ‘q’ and press enter.