March 3, 2021 in Troubleshooting2 minutes
![sha1sum: command not found [How To Fix]](/command-not-found/sha1sum-command-not-found.png)
When you run sha1sum command in linux terminal / console, you get the following error message
sha1sum: command not foundTo fix this problem, we can install sha1sum using the command below.
sudo apt-get -y install coreutilsThis command might take some time to finish depending on your machine internet connection.
You can also use apt command to install coreutils.
sudo apt -y install coreutilsOr if you have aptitude installed you can use the following command.
sudo aptitude install coreutilsIn Alpine Linux, we can install sha1sum using the command below.
apk add coreutilsIn Arch Linux, to fix this error message, we can install sha1sum using the command below.
pacman -S coreutilsIn CentOS or other RHEL based Linux distribution, we can install sha1sum using the command below.
yum install coreutilsIn Fedora we can use dnf command to install sha1sum using the command below.
dnf install coreutilsTo fix this problem, we can install sha1sum using the command below.
brew install coreutils