sha3sum command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sha3sum: command not found
or when using sudo you get the following error message
sudo: sha3sum: command not found
Solutions to sha3sum: command not found
How To Fix sha3sum: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sha3sum is provided by libdigest-sha3-perl package.
libdigest-sha3-perl is:
Digest::SHA3 is a complete implementation of the NIST SHA-3 cryptographic hash function, known originally as Keccak. It gives Perl programmers a convenient way to calculate SHA3-224, SHA3-256, SHA3-384, and SHA3-512 message digests, as well as variable-length hashes using SHAKE128 and SHAKE256. The module can handle all types of input, including partial-byte data.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libdigest-sha3-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libdigest-sha3-perl.
sudo apt -y install libdigest-sha3-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libdigest-sha3-perl
Summary
In this tutorial we learn how to fix sha3sum command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.