-2
我運行這個命令來安裝mojolicious,我得到了下面的命令。不知道如何解決它,請幫助。無法安裝mojolicious
~$ sudo curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mojolicious
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 297k 100 297k 0 0 98815 0 0:00:03 0:00:03 --:--:-- 98825
!
! Can't write to /usr/local/share/perl/5.18.2 and /usr/local/bin: Installing modules to /home/foneworx/perl5
! To turn off this warning, you have to do one of the following:
! - run me as a root or with --sudo option (to install to /usr/local/share/perl/5.18.2 and /usr/local/bin)
! - Configure local::lib in your existing shell to set PERL_MM_OPT etc.
! - Install local::lib by running the following commands
!
! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
對不起我的意思是,我得到了錯誤下面不是命令 – user957129
你能更具體地說明你卡在哪裏嗎?該警告爲解決它所警告的問題提供了三種選擇。你有沒有嘗試過這些或全部?如果是這樣,發生了什麼? – mp3
您可以使用標籤下方左側問題下的[編輯]鏈接來編輯您的問題。或者你可以點擊我在這裏提供的[編輯]。 – simbabque