Ways to Uninstall or Install dirb Ubuntu 22.04

Updated: September 18, 2022

DIRB is a Web Content Scanner. It looks for existing (and/or hidden) Web Objects. It basically works by launching a dictionary based attack against a web server and analyzing the responses. In this guide, I will show you ways to install dirb Ubuntu 22.04.

Requirements to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install dirb on Ubuntu 22.04

Install dirb Ubuntu 22.04

dirb 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 dirb using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these instructions to install dirb 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. Launching the terminal and entering the following Linux command:

sudo apt -y update

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

sudo apt-get install dirb

Install dirb using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

Then, you can now install dirb by following these steps:

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

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. You can now install dirb Ubuntu by executing this command in the terminal.

sudo aptitude -y install dirb

Uninstall dirb 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.

This command can be used to uninstall dirb from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove dirb

You can also execute this command if you want to uninstall dirb and remove its data and dependencies:

sudo apt autoremove --purge dirb

Ending

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