Install CPAN on CentOS

Spread the love

CPAN allows to install perl modules. Use following command to install CPAN:

dnf install perl-CPAN

Then configure it using following command:

cpan

Most of the configuration could be done automatically. So choose that option.

To quit the cpan CLI write ‘q’ and press enter.