How To Install sing on CentOS 7

In this tutorial we learn how to install sing on CentOS 7. sing is Sends fully customized ICMP packets from command line

Introduction

In this tutorial we learn how to install sing on CentOS 7.

What is sing

Sing is a little tool that sends fully customized ICMP packets from command line. The main purpose is to replace/complement the nice ping command with certain enhancements as - Send fragmented and monster packets > 65534 bytes - Send/read spoofed packets - Send many ICMP Information types in addition to the echo request type, sent by default as address mask request, timestamp, information request, router solicitation and router advertisement - Send many ICMP error types exceeded, destination unreach and parameter problem - Send to host with loose or strict source routing - Use little fingerprinting techniques to discover Windows or Solaris boxes - Send ICMP packets emulating certain OS Shiva, Unix and Windows at the moment

We can use yum or dnf to install sing on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install sing.

Install sing on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install sing using yum by running the following command:

sudo yum -y install sing

Install sing on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install sing using dnf by running the following command:

sudo dnf -y install sing

How To Uninstall sing on CentOS 7

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

sudo dnf remove sing

References

Summary

In this tutorial we learn how to install sing on CentOS 7 using yum and dnf.