How to Uninstall or Install crunch Ubuntu 22.04

Updated: September 23, 2022

Crunch is a wordlist generator where you can specify a standard character set or any set of characters to be used in generating the wordlists. The wordlists are created through combination and permutation of a set of characters. You can determine the amount of characters and list size. In this tutorial, I will show you how to install crunch on Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 is needed for crunch to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install crunch on Ubuntu 22.04

Install crunch Ubuntu 22.04

crunch is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install crunch using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install crunch on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install crunch Ubuntu by pasting this command into the terminal and executing it.

sudo apt -y install crunch

Install crunch using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt -y install aptitude

After installing, you can now install crunch, just 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 the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install crunch Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install crunch

Uninstall crunch on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed crunch using APT or Aptitude, you could uninstall crunch on Ubuntu by executing this command

sudo apt remove --auto-remove crunch

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

sudo apt autoremove --purge crunch

Conclusion

In this tutorial, I showed you ways to install crunch on Ubuntu 22.04 and ways to uninstall crunch too. Please contact me if you require any assistance. I’d be delighted to respond.