Installing a Perl Module from CPAN

There are several ways to install Perl Module from CPAN.

Native Package management on Linux

On Linux if you have root rights or if you can get the system administrator to do it then usually the best way is to check if the package management system of your distribution provides the package. Given a module called Acme-Dosomething on Ubuntu or Debian try aptitude search acme-dosomthing. In Red Hat, Fedora, CentOS, Mandriva or SuSE you can try to type yum search Acme-Dosomething. If they have the relevant module - and all its dependencies - packaged this will return the exact name of the packages. Then you can install the package using sudo aptitude install libacme-dosomething-perl or sudo yum install Acme-Dosomething.

ActivePerl

Use ppm on the command line or with their GUI installer.