How To Install Ping On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?
Install ping
-
Debian
apt-get install inetutils-pingClick to copy -
Ubuntu
apt-get install inetutils-pingClick to copy -
Alpine OS
apk add iputilsClick to copy -
Arch Linux
pacman -S iputilsClick to copy -
Kali Linux
apt-get install inetutils-pingClick to copy -
CentOS
yum install iputilsClick to copy -
Fedora
dnf install iputilsClick to copy -
Raspbian
apt-get install inetutils-pingClick to copy
Send ICMP ECHO_REQUEST packets to network hosts.
How to use ping?
Below are few example commands for ping that you can use in the terminal.
Ping host:ping hostClick to copyPing a host only a specific number of times:ping -c count hostClick to copyPing host, specifying the interval in seconds between requests (default is 1 second):ping -i seconds hostClick to copyPing host without trying to lookup symbolic names for addresses:ping -n hostClick to copyPing host and ring the bell when a packet is received (if your terminal supports it):ping -a hostClick to copyAlso display a message if no response was received:ping -O hostClick to copy
To install the latest version of ping in your favorite operating system just copy the ping installation command from above and paste it into terminal. It will download and install the latest version of ping 2026 package in your OS.




