hashrat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hashrat: command not found
or when using sudo you get the following error message
sudo: hashrat: command not found
Solutions to hashrat: command not found
How To Fix hashrat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hashrat is provided by hashrat package.
hashrat is:
Hashrat is a hash-generation utility that supports the md5, sha1, sha256, sha512, whirlpool, jh-244, jh256, jh-384 and jh-512 hash functions, and also the HMAC versions of those functions. It can output in ’traditional' format (same as md5sum and shasum and the like), or it’s own format.
Hashes can be output in octal, decimal, hexadecimal, uppercase hexadecimal or base64.
Hashrat also supports directory recursion, hashing entire devices, generating a hash for an entire directory, operations in remote machines and several other features. It has a ‘CGI’ mode that can be used as a web-page to lookup hashes.
This tool is useful in forensics investigations and network security.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hashrat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hashrat.
sudo apt -y install hashrat
Or if you have aptitude installed you can use the following command.
sudo aptitude install hashrat
Summary
In this tutorial we learn how to fix hashrat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.