Ways to Install or Uninstall hashcat Ubuntu 22.04

Updated: September 3, 2022

Hashcat supports five unique modes of attack for over 300 highly-optimized hashing algorithms. hashcat currently supports CPUs, GPUs, and other hardware accelerators on Linux, and has facilities to help enable distributed password cracking. In this guide, I will show you ways to install hashcat Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 is needed for hashcat to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install hashcat on Ubuntu 22.04

Install hashcat Ubuntu 22.04

hashcat is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install hashcat using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get hashcat on your Ubuntu.

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install hashcat Ubuntu by executing this command in the terminal.

sudo apt install hashcat

Install hashcat using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

After that, you can now install hashcat, just following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. You can now install hashcat Ubuntu by executing this command in the terminal.

sudo aptitude install hashcat

Uninstall hashcat on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just hashcat.

You can uninstall hashcat on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove hashcat

If you want to uninstall hashcat and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge hashcat

Conclusion

In this guide, I showed you ways to install hashcat on Ubuntu 22.04 and some ways to uninstall hashcat too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.