centos install ping code example Example: linux install ping apt-get update apt-get install iputils-ping