How to install a Perl Module

You can search and install perl modules with the commands below:

yum install cpan -y

[[email protected] asciiquarium_1.1]# cpan
Terminal does not support AddHistory.

cpan shell — CPAN exploration and modules installation (v1.9800)
Enter ‘h’ for help.

cpan[2]> m Term::Animation
Module id = Term::Animation
CPAN_USERID KBAUCOM (Kirk Baucom <[email protected]>)
CPAN_FILE K/KB/KBAUCOM/Term-Animation-2.6.tar.gz
UPLOAD_DATE 2011-03-29
INST_FILE (not installed)

cpan[3]> install Term::Animation