2015-04-02 220 views
0

我嘗試安裝cpan的strawberry perl以下cpan App::cpanminus。 但以下是我得到的錯誤。你能指導我如何解決這個問題?perl cpan安裝錯誤

C:\Strawberry\perl\bin>cpan app::cpanminus 
CPAN: CPAN::SQLite loaded ok (v0.204) 
Database was generated on Thu, 02 Apr 2015 07:11:45 GMT 

Warning: Cannot install app::cpanminus, don't know what it is. 
Try the command 

i /app::cpanminus/ 

to find objects with matching identifiers. 
CPAN: Time::HiRes loaded ok (v1.9726) 

C:\Strawberry\perl\bin>i /app::cpanminus/ 
'i' is not recognized as an internal or external command, 
operable program or batch file. 
+4

'CPAN應用:: cpanminus' – serenesat 2015-04-02 10:30:56

回答

1

爲了不使用cpan安裝,基本的自舉程序是:

curl -L http://cpanmin.us | perl - --sudo App::cpanminus 

欲瞭解更多信息,請參閱安裝部分在App::cpanminus