gpt4 book ai didi

linux - 如何更新 CPAN perl 模块

转载 作者:IT王子 更新时间:2023-10-28 23:53:25 26 4
gpt4 key购买 nike

我正在尝试安装一些 perl 模块,但每次都会显示此消息

  New CPAN.pm version (v2.00) available.
[Currently running version is v1.960001]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.

我试过

install CPAN
reload cpan

pi@raspbmc:~$ sudo perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.

cpan[1]> install CPAN

但是结果是

Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Mon, 28 Oct 2013 23:41:06 GMT
HTTP::Date not available
..............
New CPAN.pm version (v2.00) available.
[Currently running version is v1.960001]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.


...............pi@raspbmc:~$

版本还是1.960001

最佳答案

接下来的过程

  1. kuz1@banana:~$ sudo perl -MCPAN -e shell
  2. cpan[1]> 安装 CPAN
  3. cpan[2]> 重新加载 cpan

在装有 Ubuntu 14.04 的 BANANA Pi 单板计算机上为我工作。

关于linux - 如何更新 CPAN perl 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19677296/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com