本文簡介cpan在linux 上面的安裝
請用yum 指令安裝cpan 指令如下
請用root執行以下指令
#yum -y install cpan
完成後會有以下訊息
Installed: perl-CPAN.i386 0:1.76_02-39.fc8
Complete!
第一次啟動cpan
#capn
We have to reconfigure CPAN.pm due to following uninitialized parameters:
cpan_home, keep_source_where, build_dir, build_cache, scan_cache, index_expire, gzip, tar, unzip, make, pager, makepl_arg, make_arg, make_install_arg, urllist, inhibit_startup_message, ftp_proxy, http_proxy, no_proxy, prerequisites_policy, cache_metadata
/usr/lib/perl5/5.8.8/CPAN/Config.pm initialized.
再來會進入互動模式
都是簡單的英文,這裡就不說明了
最後出現以下訊息表示設定成功囉
commit: wrote /usr/lib/perl5/5.8.8/CPAN/Config.pm
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
這會進入CPAN的shell ,這裡可以安裝你想要的模組
cpan>
請用yum 指令安裝cpan 指令如下
請用root執行以下指令
#yum -y install cpan
完成後會有以下訊息
Installed: perl-CPAN.i386 0:1.76_02-39.fc8
Complete!
第一次啟動cpan
#capn
We have to reconfigure CPAN.pm due to following uninitialized parameters:
cpan_home, keep_source_where, build_dir, build_cache, scan_cache, index_expire, gzip, tar, unzip, make, pager, makepl_arg, make_arg, make_install_arg, urllist, inhibit_startup_message, ftp_proxy, http_proxy, no_proxy, prerequisites_policy, cache_metadata
/usr/lib/perl5/5.8.8/CPAN/Config.pm initialized.
再來會進入互動模式
都是簡單的英文,這裡就不說明了
最後出現以下訊息表示設定成功囉
commit: wrote /usr/lib/perl5/5.8.8/CPAN/Config.pm
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
這會進入CPAN的shell ,這裡可以安裝你想要的模組
cpan>
全站熱搜
留言列表