How To Install 2ping on CentOS 7
Introduction
In this tutorial we learn how to install 2ping
on CentOS 7.
What is 2ping
2ping is a bi-directional ping utility. It uses 3-way pings (akin to TCP SYN, SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener and a 2ping client to determine which direction packet loss occurs.
We can use yum
or dnf
to install 2ping
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install 2ping.
Install 2ping on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install 2ping
using yum
by running the following command:
sudo yum -y install 2ping
Install 2ping 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 2ping
using dnf
by running the following command:
sudo dnf -y install 2ping
How To Uninstall 2ping on CentOS 7
To uninstall only the 2ping
package we can use the following command:
sudo dnf remove 2ping
References
Summary
In this tutorial we learn how to install 2ping
on CentOS 7 using yum
and dnf
.