I tried to use sha256sum
in High Sierra; I attempted to install it with MacPorts
, as:
sudo port install sha256sum
It did not work.
What to do?
hashsummacportsosxsoftware installation
I tried to use sha256sum
in High Sierra; I attempted to install it with MacPorts
, as:
sudo port install sha256sum
It did not work.
What to do?
Best Answer
The CoreUtils package is also published as a Brew formulae. So if you have Brew installed you can also just run:
Then add
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
to~/.bashrc
, runsource ~/.bashrc
and you're done.