How To Install doscan on Ubuntu 18.04
Introduction
In this tutorial we learn how to install doscan
on Ubuntu 18.04.
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 Ubuntu 18.04. 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 Ubuntu. 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 Ubuntu 18.04
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 Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove doscan
Remove doscan Configurations and Data
To remove doscan
configuration and data from Ubuntu 18.04 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
References
Summary
In this tutorial we learn how to install doscan
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.