argon2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
argon2: command not found
or when using sudo you get the following error message
sudo: argon2: command not found
Solutions to argon2: command not found
How To Fix argon2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu argon2 is provided by argon2 package.
argon2 is:
Argon2 is a password-hashing function that can be used to hash passwords for credential storage, key derivation, or other applications.
There are two main versions of Argon2: Argon2i and Argon2d. Argon2i is the safest against side-channel attacks, while Argon2d provides the highest resistance against GPU cracking attacks.
Argon2i and Argon2d are parametrized by:
- A time cost, which defines the amount of computation realized and therefore the execution time, given in number of iterations
- A memory cost, which defines the memory usage, given in kibibytes
- A parallelism degree, which defines the number of parallel threads
This package contains the argon2 tool for hashing data on the command-line.
To fix this problem, we can install more using the command below.
sudo apt-get -y install argon2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install argon2.
sudo apt -y install argon2
Or if you have aptitude installed you can use the following command.
sudo aptitude install argon2
Summary
In this tutorial we learn how to fix argon2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.