Friday, February 6, 2015

How to build and install perl packages on archlinux

The best way to install a perl package is using the distros package manager.
This makes it easy to later remove a perl package and avoid conflicts.

Install the arch package: perl-cpanplus-dist-arch
cpanp -i PERL::PACK
cpanp is now configured to build arch linux packages instead of using the "normal" perl way. It even builds and installs all dependencies if you configured it correctly in the "Execute: setupdistarch"  step.

That's it.