INSTALLING A DISTRIBUTION

With cpanm

cpanm tool is the easiest way to install distribution. It automates downloading, building, testing, installing, and uninstalling.

To install the latest version from CPAN:

$ cpanm Software::License::OrLaterPack

To install a specific version (e. g. 0.007) from CPAN:

$ cpanm Software::License::OrLaterPack@0.007

To install locally available distribution (e. g. previously downloaded from CPAN or built from sources):

$ cpanm ./Software-License-OrLaterPack-0.007.tar.gz

To uninstall the distribution:

$ cpanm -U Software::License::OrLaterPack

Manually

To install distribution tarball manually (let us assume you have version 0.007 of the distribution):

$ tar xaf Software-License-OrLaterPack-0.007.tar.gz
$ cd Software-License-OrLaterPack-0.007
$ perl Build.PL
$ ./Build build
$ ./Build test
$ ./Build install