"Ping not found" - How to Install Ping on Ubuntu

"Ping not found" - How to Install Ping on Ubuntu

To install the `ping` command on Ubuntu, follow these steps:

1. **Open Terminal**: You can do this by pressing `Ctrl + Alt + T` on your keyboard or by searching for ‘Terminal’ in your application menu.

2. **Update Package Lists**: Before installing new software, it's a good idea to update your package lists. Run the following command:

sudo apt update

Enter your password when prompted. This command won't show characters as you type your password, which is normal in the Linux terminal.

3. **Install `inetutils-ping`**: The `ping` command is provided by the `inetutils-ping` package in Ubuntu. Install it by running:

sudo apt install inetutils-ping

Again, enter your password if prompted.

4. **Verify Installation**: Once the installation is complete, you can verify that `ping` is installed correctly by running:

ping -V

This command shows the version of the `ping` utility installed on your system.

5. **Test the Ping Command**: You can test the `ping` command by pinging a website, such as:

ping google.com

This will send ICMP packets to `google.com` and display the response times.

Remember, to stop the `ping` process in the terminal, you can press `Ctrl + C`.

These steps should successfully install the `ping` command on your Ubuntu system. If you encounter any errors during the installation, the error messages are usually helpful in diagnosing the problem.