How To Install doscan on Debian 11

In this tutorial we learn how to install doscan on Debian 11. doscan is port scanner for discovering services on large networks

Introduction

In this tutorial we learn how to install doscan on Debian 11.

What is doscan

doscan is:

doscan is a tool to discover TCP services on your network. It is designed for scanning a single ports on a large network. doscan contacts many hosts in parallel, using standard TCP sockets provided by the operating system. It is possible to send strings to remote hosts, and collect the banners they return.

There are better tools for scanning many ports on a small set of hosts, for example nmap.

There are three methods to install doscan on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install doscan Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install doscan using apt-get by running the following command:

sudo apt-get -y install doscan

Install doscan Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install doscan using apt by running the following command:

sudo apt -y install doscan

Install doscan Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install doscan using aptitude by running the following command:

sudo aptitude -y install doscan

How To Uninstall doscan on Debian 11

To uninstall only the doscan package we can use the following command:

sudo apt-get remove doscan

Uninstall doscan And Its Dependencies

To uninstall doscan and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove doscan

Remove doscan Configurations and Data

To remove doscan configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge doscan

Remove doscan configuration, data, and all of its dependencies

We can use the following command to remove doscan configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge doscan

Dependencies

doscan have the following dependencies:

References

Summary

In this tutorial we learn how to install doscan package on Debian 11 using different package management tools: apt, apt-get and aptitude.