How to install ping utility in Ubuntu
Scope
This document demonstrates how to install the ping utility in Ubuntu. In context, this is for Telos containerized systems using the Ubuntu operating system. There is plenty of help on the internet for; we're providing this to you here in the hope that it will be helpful. Please refer to the documentation for your OS for any additional details.
Description
When trying to execute a ping command, you may receive a response ping: not found
.
Install Ping
We'll update the apt information first, and then install ping.
- From the command prompt, run the following command;
apt update
You may be required to run with elevated privileges using sudo, for examplesudo apt update
.
The system will respond with a list of packages updated and then return to the command prompt. - Install ping by running the following command;
apt-get install iputils-ping
You should see a response similar to this and then it will return to the command prompt.
Ping is now installed on your system.
Let us know how we can help
If you have further questions on this topic or have ideas about improving this document, please contact us.