Can't locate local/lib.pm in @INC at /usr/share/perl/5.14/CPAN/FirstTime.pm

前端 未结 3 2012
既然无缘
既然无缘 2021-02-08 18:06

I am trying to use Perl the first time on my system which is Ubuntu 12.04. I have Perl v.5.14.2 installed.
I looked up how to install Perl modules, so I sta

3条回答
  •  抹茶落季
    2021-02-08 18:47

    You're missing local::lib, which is what you told CPAN shell to do.

    You can install it like so:

    sudo apt-get install liblocal-lib-perl
    

    You might be able to start over by rm -rf-ing your ~/.cpan directory. AT YOUR OWN RISK

    However, I would recommend trying cpanminus instead of the old CPAN shell.

    sudo apt-get install cpanminus
    

提交回复
热议问题