How To Install ettercap-text-only on Ubuntu 18.04

In this tutorial we learn how to install ettercap-text-only on Ubuntu 18.04. ettercap-text-only is Ettercap console-mode executable

Introduction

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

What is ettercap-text-only

ettercap-text-only 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 text-mode-only executable.

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

sudo apt-get -y install ettercap-text-only

Install ettercap-text-only Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ettercap-text-only

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

sudo aptitude -y install ettercap-text-only

How To Uninstall ettercap-text-only on Ubuntu 18.04

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

sudo apt-get remove ettercap-text-only

Uninstall ettercap-text-only And Its Dependencies

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

sudo apt-get -y autoremove ettercap-text-only

Remove ettercap-text-only Configurations and Data

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

sudo apt-get -y purge ettercap-text-only

Remove ettercap-text-only configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ettercap-text-only

References

Summary

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