centos 解决 -bash: shasum: command not found

[root@c1 src]# ll
total 95624
-rw-r--r--. 1 root root 97914519 Oct  2 21:58 elasticsearch-6.4.2.tar.gz
-rw-r--r--. 1 root root      156 Oct  2 21:58 elasticsearch-6.4.2.tar.gz.sha512
[root@c1 src]# shasum -a 512 -c elasticsearch-6.4.2.tar.gz.sha512 
-bash: shasum: command not found

centos这里只要:yum install perl-Digest-SHA

[root@c1 src]# shasum -a 512 -c elasticsearch-6.4.2.tar.gz.sha512 
elasticsearch-6.4.2.tar.gz: OK

你可能感兴趣的:(Linux)