CPAN镜像使用帮助

https://lug.ustc.edu.cn/wiki/mirrors/help/cpan

**************************************************

使用说明

若你以前从未使用过CPAN,请在命令行下运行cpan

Would you like me to automatically choose some CPAN mirror sites for you? (This means connecting to the Internet) [yes] 

此处输入no

Would you like to pick from the CPAN mirror list? [yes] 

此处直接回车

You should select more than one (just in case the first isn't available).

(1) Africa
(2) Asia
(3) Europe
(4) North America 
(5) Oceania
(6) South America
Select your continent (or several nearby continents) [] 

此处选择2

(1) China
(2) India
(3) Indonesia
(4) Israel
(5) Japan
(6) Kazakhstan
(7) Pakistan
(8) Republic of Korea
(9) Saudi Arabia
(10) Singapore
(11) Taiwan
(12) Thailand
(13) Turkey
(14) Viet Nam
Select your country (or several nearby countries) [] 

此处选择1

(1) ftp://ftp.cuhk.edu.hk/pub/packages/perl/CPAN/
(2) ftp://mirror.communilink.net/CPAN/
(3) ftp://mirrors.sohu.com/CPAN/
(4) ftp://mirrors.ustc.edu.cn/CPAN/
(5) ftp://mirrors.xmu.edu.cn/CPAN/
(6) http://cpan.communilink.net/
(7) http://ftp.cuhk.edu.hk/pub/packages/perl/CPAN/
(8) http://mirror.qdu.edu.cn/CPAN/
(9) http://mirrors.163.com/cpan/
(10) http://mirrors.btte.net/CPAN/
(11) http://mirrors.devlib.org/cpan/
(12) http://mirrors.sohu.com/CPAN/
(13) http://mirrors.ustc.edu.cn/CPAN/
(14) http://mirrors.xmu.edu.cn/CPAN/
Select as many URLs as you like (by number), put them on one line, 
separated by blanks, hyphenated ranges allowed
 e.g. '1 4 5' or '7 1-4 8' []  

此处选择13

其它问题视具体情况选择即可

若你已经用过cpan了,将~/.cpan/CPAN/MyConfig.pm中的'urllist'的值改为

'urllist' => [q[http://mirrors.ustc.edu.cn/CPAN/]],

相关链接


  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值