2ping command not found

In this troubleshooting guide we learn how to fix 2ping command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

2ping: command not found

or when using sudo you get the following error message

sudo: 2ping: command not found

Solutions to 2ping: command not found

How To Fix 2ping: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu 2ping is provided by 2ping package.

2ping is:

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install 2ping

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install 2ping.

sudo apt -y install 2ping

Or if you have aptitude installed you can use the following command.

sudo aptitude install 2ping

Summary

In this tutorial we learn how to fix 2ping command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.