Hashcat is for those who are in the computer security field and want to test the strength of the password to perform security audits. In short, it is an advanced password recovery tool that supports various hashing algorithms with extensive options for password cracking. Till 2015 it was a propriety tool but later open-sourced. Here in this article, we learn the steps involved in installing Hashcat on Ubuntu Linux systems.
What do you need to follow this tutorial:
We are guiding how to install Hashcat on Linux, therefore you should be on Ubuntu 20.04, 22.04, or any other latest version. Also, the system must have an internet connection whereas to install packages you either need to have sudo access or root.
Step 1: Start with a system update
Open the command terminal on your Ubuntu Linux, the graphical desktop users can use the shortcut Ctrl+Alt+T. After that run the package update command of Ubuntu i.e:
sudo apt update
Step 2: Install Hashcat on Ubuntu 20.04/22.04
Well, the default system repository of Ubuntu offers the packages that we need to install Hashcat on our system. Therefore, without adding any third-party repo we can get this tool, here is the command to follow:
sudo apt install hashcat
The command will also install the required dependencies by this security and password testing tool.

Step 3: Check the version
Once the installation is completed, you can check the version to confirm the tool is successfully installed on your system.
hashcat --version
Installation from Source code (optional)
Those who don’t want to use the APT package manager and instead want to install the latest version can use compile the Hashcat from its source code. Here are the commands to follow for that:
Install the developer tools
sudo apt install -y build-essential git
Clone Hashcat Git repository:
git clone https://github.com/hashcat/hashcat.git
Switch to the Hashcat directory:
cd hashcat
Compile the code:
make
Install the Hashcat:
Once you have compiled the Hashcat source code, install it using the given command:
sudo make install
The system will configure the necessary file required to use this tool.
Reoad the session:
newgrp
Check the version:
hashcat --version
Usage
To see the options available to use with Hashcat, run:
hashcat --help
For more details check out the official Wiki page of the tool.
 Other Articles: