It is recommended to copy and paste each cpan command individually, as they may be interactive. If cpan commands ask for options, choose the defaults.

CentOS 6 and earlier:

  • yum -y install cpan expat-devel gcc gcc-c++ ghostscript libtiff libtiff-devel make mysql mysql-devel ncurses-devel nfs-utils ntp openssl-devel patch perl-CGI perl-Crypt-SSLeay perl-CGI perl-DBI perl-DBD-MySQL perl-ExtUtils-Embed perl-JSON perl-libwww-perl subversion unzip wget zip zlib-devel
  • cpan ExtUtils::MakeMaker
  • cpan Archive::Zip
  • cpan Date::Calc
  • cpan Date::Calc::XS
  • cpan HTML::Template
  • cpan MIME::Lite
  • cpan Net::IP
  • cpan Net::Server
  • cpan Sub::Name
  • cpan Term::ReadKey
  • cpan Text::CSV
  • cpan Time::HiRes
  • cpan XML::Simple

CentOS 7 and later:

  • yum -y install cpan expat-devel gcc gcc-c++ ghostscript libtiff libtiff-devel make mysql mysql-devel ncurses-devel nfs-utils ntp openssl-devel patch perl-CGI perl-Crypt-SSLeay perl-CGI perl-DBI perl-DBD-MySQL perl-ExtUtils-Embed perl-JSON perl-libwww-perl perl-LWP-Protocol-https subversion unzip wget zip zlib-devel
  • cpan ExtUtils::MakeMaker
  • cpan Archive::Zip
  • cpan Date::Calc
  • cpan Date::Calc::XS
  • cpan HTML::Template
  • cpan MIME::Lite
  • cpan Net::IP
  • cpan Net::Server
  • cpan Sub::Name
  • cpan Term::ReadKey
  • cpan Text::CSV
  • cpan Time::HiRes
  • cpan XML::Simple

Debian:

  • apt-get install gcc g++ ghostscript htmldoc libarchive-zip-perl libc6-dev libcrypt-ssleay-perl libdate-calc-perl libdbd-mysql-perl libdbi-perl libjson-perl libtiff4 libtiff4-dev libtiff-tools libnet-ip-perl libnet-server-perl libmime-lite-perl libhtml-template-perl libmysqlclient15-dev libncurses-dev libssl-dev libsub-name-perl libtext-csv-perl libwww-perl libxml-simple-perl make mysql-client ncftp nfs-common ngrep ntp psmisc subversion unzip zip zlib1g-dev

Fedora 21 and earlier:

  • yum -y install gcc gcc-c++ ghostscript libtiff libtiff-devel make mysql-devel ncftp ncurses-devel ngrep ntp openssl-devel patch perl-Archive-Zip perl-CPAN perl-Crypt-SSLeay perl-Date-Calc perl-CGI perl-DBI perl-HTML-Template perl-JSON perl-MIME-Lite perl-DBD-MySQL perl-Net-Server perl-Sub-Name perl-XML-Simple perl-libwww-perl subversion wget

Fedora 22 and later:

  • yum -y install gcc gcc-c++ ghostscript libtiff libtiff-devel make mysql-devel ncftp ncurses-devel ngrep ntp openssl-devel patch perl-Archive-Zip perl-CPAN perl-Crypt-SSLeay perl-Date-Calc perl-CGI perl-DBI perl-HTML-Template perl-JSON perl-MIME-Lite perl-DBD-MySQL perl-Net-Server perl-Sub-Name perl-XML-Simple perl-libwww-perl perl-LWP-Protocol-https subversion wget

Redhat Enterprise:

  • yum -y install gcc ghostscript libtiff libtiff-devel make mysql-devel ncurses-devel openssl-devel ntp perl-Crypt-SSLeay perl-CGI perl-DBI perl-DBD-MySQL perl-JSON perl-libwww-perl perl-LWP-Protocol-https subversion
  • cpan Archive::Zip
  • cpan Date::Calc
  • cpan Date::Calc::XS
  • cpan HTML::Template
  • cpan MIME::Lite
  • cpan Net::IP
  • cpan Net::Server
  • cpan Sub::Name
  • cpan Text::CSV
  • cpan Time::HiRes
  • cpan XML::Simple

Ubuntu:

  • apt-get install gcc g++ ghostscript htmldoc libarchive-zip-perl libc6-dev libcrypt-ssleay-perl libdate-calc-perl libdbd-mysql-perl libdbi-perl libjson-perl libtiff4-dev libtiff-tools libnet-ip-perl libnet-server-perl libmime-lite-perl libhtml-template-perl libmysqlclient16 libmysqlclient16-dev libncurses-dev libsub-name-perl libtext-csv-perl libwww-perl libxml-simple-perl make ncftp nfs-common ngrep ntp patch psmisc subversion unzip xpdf-utils zip zlib1g-dev