How To Install ettercap-common on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ettercap-common
on Ubuntu 20.04.
What is ettercap-common
ettercap-common is:
Ettercap supports active and passive dissection of many protocols (even encrypted ones) and includes many feature for network and host analysis.
Data injection in an established connection and filtering (substitute or drop a packet) on the fly is also possible, keeping the connection synchronized.
Many sniffing modes are implemented, for a powerful and complete sniffing suite. It is possible to sniff in four modes: IP Based, MAC Based, ARP Based (full-duplex) and PublicARP Based (half-duplex).
Ettercap also has the ability to detect a switched LAN, and to use OS fingerprints (active or passive) to find the geometry of the LAN.
This package contains the Common support files, configuration files, plugins, and documentation. You must also install either ettercap-graphical or ettercap-text-only for the actual GUI-enabled or text-only ettercap executable, respectively.
There are three methods to install ettercap-common
on Ubuntu 20.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 ettercap-common Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ettercap-common
using apt-get
by running the following command:
sudo apt-get -y install ettercap-common
Install ettercap-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ettercap-common
using apt
by running the following command:
sudo apt -y install ettercap-common
Install ettercap-common 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 ettercap-common
using aptitude
by running the following command:
sudo aptitude -y install ettercap-common
How To Uninstall ettercap-common on Ubuntu 20.04
To uninstall only the ettercap-common
package we can use the following command:
sudo apt-get remove ettercap-common
Uninstall ettercap-common And Its Dependencies
To uninstall ettercap-common
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ettercap-common
Remove ettercap-common Configurations and Data
To remove ettercap-common
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ettercap-common
Remove ettercap-common configuration, data, and all of its dependencies
We can use the following command to remove ettercap-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ettercap-common
References
Summary
In this tutorial we learn how to install ettercap-common
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.