Ways to Uninstall or Install netdiscover Ubuntu 22.04

Updated: September 20, 2022

Netdiscover is an active/passive address reconnaissance tool, mainly developed for those wireless networks without dhcp server, when you are wardriving. It can be also used on hub/switched networks. In this tutorial, I will show you ways to install netdiscover Ubuntu 22.04.


  • Operating system: Ubuntu 22.04 is needed for netdiscover to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install netdiscover on Ubuntu 22.04

Install netdiscover Ubuntu 22.04

netdiscover 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 netdiscover 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 netdiscover on your Ubuntu 22.04.

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: Start the package installation on Ubuntu 22.04. After updating the system, you can install netdiscover Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt install netdiscover

Install netdiscover 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 that, you can now install netdiscover by following these steps:

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 download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install netdiscover Ubuntu by executing this command in the terminal.

sudo aptitude -y install netdiscover

Uninstall netdiscover on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a netdiscover.

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

sudo apt remove --auto-remove netdiscover

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

sudo apt autoremove --purge netdiscover


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