John the Ripper is a tool designed to help systems administrators to find weak (easy to guess or crack through brute force) passwords, and even automatically mail users warning them about it, if it is desired. In this tutorial, I will show you ways to install john Ubuntu 22.04.
Prerequisites to install
- Operating system: Ubuntu 22.04 is needed for john to work
- Privileges: Verify that you can execute the sudo commands line.
Install john Ubuntu 22.04
john is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.
Install john using APT
This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get john on your Ubuntu.
Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:
Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install john Ubuntu by pasting this command into the terminal and pressing
Install john using Aptitude
With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.
Then, you can now install john by following these steps:
Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:
Step 2: Start the package installation on Ubuntu 22.04. You can now install john Ubuntu by executing this command in the terminal.
Uninstall john 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 john.
If you installed john using APT or Aptitude, you could uninstall john on Ubuntu by running this command
You can also execute this command if you want to uninstall john and remove its data and dependencies:
In this guide, I showed you ways to install john on Ubuntu 22.04 and some ways to uninstall john too. Please contact me if you require any assistance. I’d be delighted to respond.