How To Install ettercap-graphical on Ubuntu 18.04

In this tutorial we learn how to install ettercap-graphical on Ubuntu 18.04. ettercap-graphical is Ettercap GUI-enabled executable

Introduction

In this tutorial we learn how to install ettercap-graphical on Ubuntu 18.04.

What is ettercap-graphical

ettercap-graphical 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 ettercap GUI-enabled executable.

There are three methods to install ettercap-graphical 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 ettercap-graphical 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-graphical using apt-get by running the following command:

sudo apt-get -y install ettercap-graphical

Install ettercap-graphical Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ettercap-graphical

Install ettercap-graphical 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-graphical using aptitude by running the following command:

sudo aptitude -y install ettercap-graphical

How To Uninstall ettercap-graphical on Ubuntu 18.04

To uninstall only the ettercap-graphical package we can use the following command:

sudo apt-get remove ettercap-graphical

Uninstall ettercap-graphical And Its Dependencies

To uninstall ettercap-graphical and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove ettercap-graphical

Remove ettercap-graphical Configurations and Data

To remove ettercap-graphical configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ettercap-graphical

Remove ettercap-graphical configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ettercap-graphical

References

Summary

In this tutorial we learn how to install ettercap-graphical package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.