How to Uninstall and Install nbtscan Ubuntu 22.04

Updated: September 20, 2022

NBTscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. For each responded host it lists IP address, NetBIOS computer name, logged-in user name and MAC address (such as Ethernet). I will show you how to install nbtscan on Ubuntu 22.04 in this tutorial.

Software Requirement

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

Prerequisites to install nbtscan on Ubuntu 22.04

Install nbtscan Ubuntu 22.04

nbtscan 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 that you think is easy and you can follow.

Install nbtscan using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get nbtscan on your Ubuntu.

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

sudo apt -y update

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

sudo apt install nbtscan

Install nbtscan 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. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After that, you can now install nbtscan 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. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

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

sudo aptitude install nbtscan

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

If you installed nbtscan using APT or Aptitude, you could uninstall nbtscan on Ubuntu by following this step:

sudo apt remove --auto-remove nbtscan

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

sudo apt autoremove --purge nbtscan

Ending

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