CPAN Modules

If you have an active Internet connection, you can install/upgrade the various add-on modules that you want directly from CPAN. As root, do the following:

     perl -MCPAN -e shell

The first time you run CPAN after a new Perl build, you'll need to set it up manually. Here are the answers to some of the questions (if you don't see your favorite question here, its pretty safe to take the default):

     CPAN build and cache directory? /root/.cpan
     Cache size for build directory (in MB)? 100
     Perform cache scanning (atstart or never)? atstart
     Policy on building prerequisites (follow, ask or ignore)? ask
     Pretty good mirror sites (for USA)?
          http://cpan.mirror.facebook.net/
          http://mirrors.ibiblio.org/CPAN/
          http://www.perl.com/CPAN/

To list the mirror sites that you are currently using (i.e. when you need to replace one because it has gone mams aloft):

To remove an offending mirror from the beginning of the list:

To remove an offending mirror from the end of the list:

To add a new mirror to the beginning of the list:

To add a new mirror to the end of the list:

When all of your changes are completed, save them with:

Here are some bundles that you are likely to want:

     install Bundle::CPAN
     install Compress::Zlib
     install IO::Zlib
     install Digest::SHA1
     install HTML::Parser
     install Net::DNS
     install Net::Ident
     install Time::HiRes
     install DB_File
     install Bundle::DBI
     install Tie::IxHash

For Spamassassin, you'll need these additional modules:

     install Mail::SPF
     install Mail::DKIM
     install IP::Country
     install Archive::Tar

For the Informix database, you'll need this additional module:

     install Bundle::DBD::Informix