Install Perl Module

List all installed Perl modules
perldoc perllocal or instmodsh

Check if a specified module is installed
perldoc -li math::round # -l = list; -i = ignore case

Install Perl modules
Given an example of Math::Round to be installed

  1. Search & download the module (Math-Round-0.07.tar.gz) at https://metacpan.org/.
  2. Install the module
    1
    2
    3
    4
    5
    % tar xvf Math-Round-0.07.tar.gz`
    % perl Makefile.PL
    % make
    % make test
    % sudo make install