Ubuntu

紙箱:找不到命令

  • December 15, 2018

我第一次嘗試使用 Perl 並且在安裝Carton時遇到了一些困難。我正在按照本指南安裝 Erco。

我在 Ubuntu 14 上。我有 build-essential。當我跑

carton install 

我明白了

bash: carton: command not found

當我跑cpan Carton它似乎工作,但which carton想出什麼。現在當我執行cpan Carton我的輸出是:

Reading '/home/<username>/.cpan/Metadata'
Reading '/home/<username>/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Reading '/home/<username>/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Tue, 02 Feb 2016 18:17:03 GMT
HTTP::Date not available
..............
New CPAN.pm version (v2.10) available.
[Currently running version is v2.00]
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,但它的反應是

install: missing destination file operand after 'CPAN'

可能當您不cpan正確配置時Carton

我覺得你應該試試cpanm Carton

cpanminus (cpanm) 是一種零配置客戶端的嘗試,它可以自動為大多數使用者做正確的事情。

引用自:https://unix.stackexchange.com/questions/259402