apt-get Install ping

How do you install ping in Linux using apt-get command?

How to Install ping with apt-get?

apt-get install ping -y

Install Ping  Command

Here is a tutorial to learn how to install ping using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install ping -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of ping if it is running already.

Result of the Command Execution shown below:

root@hiox:~ apt-get install ping -y
Reading package lists...
Building dependency tree...
Reading state information...
Package ping is a virtual package provided by:
inetutils ping 2:1.6 3
iputils ping 3:20071127 2ubuntu1
You should explicitly select one to install.
root@hiox:~


Related Topics

Apt Get Commands