How to install 2ping on Fedora server

bash: 2ping: command not found
bash: 2ping6: command not found

Got the above error on my Fedora server. Follow the below steps to install 2ping package on your Fedora server.

2ping is a bi-directional ping utility.

How to install 2ping on Fedora server

1. Log into your Fedora server as ‘root’ user

2. Install 2ping package using dnf command

# dnf install 2ping

OR

# sudo dnf install 2ping

 

Install 2ping by downloading rpm

1. Log into your Fedora server as ‘root’ user

2. You can download 2ping rpm package from rpmfind.net website using wget command

# wget https://download.fedoraproject.org/pub/fedora/linux/releases/31/Everything/source/tree/Packages/2/2ping-4.3-3.fc31.src.rpm

3. Install 2ping package using rpm command

rpm -ivh 2ping-4.3-3.fc31.src.rpm

4. Run the command “2ping –help” to check the command usage.