How To Install ptpd on CentOS 7

In this tutorial we learn how to install ptpd on CentOS 7. ptpd is PTPd implements the Precision Time protocol (PTP) as defined by

Introduction

In this tutorial we learn how to install ptpd on CentOS 7.

What is ptpd

The PTP daemon (PTPd) implements the Precision Time protocol (PTP) as defined by the relevant IEEE 1588 standard. PTP was developed to provide very precise time coordination of LAN connected computers. PTPd is a complete implementation of the IEEE 1588 specification for a standard (non-boundary) clock. PTPd has been tested with and is known to work properly with other IEEE 1588 implementations.

We can use yum or dnf to install ptpd on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ptpd.

Install ptpd on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ptpd using yum by running the following command:

sudo yum -y install ptpd

Install ptpd on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ptpd using dnf by running the following command:

sudo dnf -y install ptpd

How To Uninstall ptpd on CentOS 7

To uninstall only the ptpd package we can use the following command:

sudo dnf remove ptpd

References

Summary

In this tutorial we learn how to install ptpd on CentOS 7 using yum and dnf.