xml - CPAN modules claim to install but dont -
xml - CPAN modules claim to install but dont -
running ubuntu 14.04 through virtualbox.
when executing script, next error:
can't locate xml/simple.pm in @inc (@inc contains:...now, when check directories in @inc
, indeed not contain xml/simple.pm
i tried installing through cpan
sudo cpan xml::simpleand tells me that:
xml::simple date (2.20).which, according perl
not true, since output of
is
can't locate xml/simple.pm in @inc (@inc contains:so, missing?
an alternative way install perl modules on linux systems distribution repository. on debian/ubuntu systems general rules converting cpan distribution name apt bundle name is:
convert module name lower case convert '::' '-' add 'lib' prefix , '-perl' suffixso bundle name xml::simple be: libxml-simple-perl
, install with:
sudo apt-get install libxml-simple-perl
there exceptions these rules, can search perl module name:
apt-cache search xml::simple
you won't absolute latest version of module distro's bundle repository stable (some might 'moribund') modules xml::simple doesn't matter.
if have multiple versions of perl installed, installing distro's bundle repository create bundle available scheme perl in /usr/bin
xml perl cpan
Comments
Post a Comment