How To Install Fping on CentOS 6

Install Fping on CentOS 6

In this tutorial, we will show you how to install and configuration of Fping on your CentOS 6 server. For those of you who didn’t know, Fping is a program like ping which uses the Internet Control Message Protocol ( ICMP ) echo request to determine if a target host is responding. fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Fping on a CentOS 6 system.


  • A server running one of the following operating systems: CentOS or RHEL-based.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • You will need access to the terminal to execute commands.
  • A network connection or internet access to download the Fping package.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install Fping on CentOS 6

Step 1. First, you need to enable the repository on your system.

## RHEL/CentOS 6 64-Bit ##
# wget http://pkgs.repoforge.org/fping/fping-3.9-1.el6.rf.x86_64.rpm
# rpm -ivh fping-3.9-1.el6.rf.x86_64.rpm

## RHEL/CentOS 6 32-Bit ##
# wget http://pkgs.repoforge.org/fping/fping-3.9-1.el6.rf.i686.rpm
# rpm -ivh fping-3.9-1.el6.rf.i686.rpm

Step 2. Install Fping on the CentOS system.

  • Install Fping using the default CentOS repository:

Run the following commands below to install Fping using the YUM command:

yum install fping
  • Installing Fping from source code:

First, download fping source package (the latest version is 3.10) and install it.

wget https://fping.org/dist/fping-5.1.tar.gz
tar -xvf fping-5.1.tar.gz
cd fping-5.1
make install

Example usage fping program:

#fping is alive is alive is alive

Congratulations! You have successfully installed Fping. Thanks for using this tutorial for installing the Fping on your Ubuntu 20.04 LTS Focal Fossa system. For additional help or useful information, we recommend you to check the official Fping website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button