How To Install sendip on Debian 9

In this tutorial we learn how to install sendip on Debian 9. sendip is Commandline tool to allow sending arbitrary IP packets

Introduction

In this tutorial we learn how to install sendip on Debian 9.

What is sendip

sendip is:

SendIP has a large number of command line options to specify the content of every header of a RIP, TCP, UDP, ICMP or raw IPv4 and IPv6 packet. It also allows any data to be added to the packet. Checksums can be calculated automatically, but if you wish to send out wrong checksums, that is supported too.

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

Install sendip Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sendip

Install sendip Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sendip

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

sudo aptitude -y install sendip

How To Uninstall sendip on Debian 9

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

sudo apt-get remove sendip

Uninstall sendip And Its Dependencies

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

sudo apt-get -y autoremove sendip

Remove sendip Configurations and Data

To remove sendip configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge sendip

Remove sendip configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sendip

Dependencies

sendip have the following dependencies:

References

Summary

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