######################################################################## 100.0%
-bash: shasum:命令找不到
Checksums do not match.
Binary download failed, trying source.
Additional options while compiling:
######################################################################## 100.0%
幾次在CentOS用nvm安裝node.js都出現這個問題,來記錄一下
問題出在預設沒有shasum這個指令
所以可以先下
yum whatprovides '*bin/shasum'
尋找一下到底要裝什麼
結果
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* epel: ftp.tsukuba.wide.ad.jp
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
1:perl-Digest-SHA-5.47-127.el6.x86_64 : Perl extension for SHA-1/224/256/384/512
Repo : base
Matched from:
Filename : /usr/bin/shasum
1:perl-Digest-SHA-5.47-127.el6.x86_64 : Perl extension for SHA-1/224/256/384/512
Repo : installed
Matched from:
Filename : /usr/bin/shasum
安裝完即可結案
沒有留言:
張貼留言