How To Install linuxptp on CentOS 7
Introduction
In this tutorial we learn how to install linuxptp on CentOS 7.
What is linuxptp
This software is an implementation of the Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux. The dual design goals are to provide a robust implementation of the standard and to use the most relevant and modern Application Programming Interfaces (API) offered by the Linux kernel. Supporting legacy APIs and other platforms is not a goal.
We can use yum or dnf to install linuxptp on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install linuxptp.
Install linuxptp on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install linuxptp using yum by running the following command:
sudo yum -y install linuxptp
Install linuxptp 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 linuxptp using dnf by running the following command:
sudo dnf -y install linuxptp
How To Uninstall linuxptp on CentOS 7
To uninstall only the linuxptp package we can use the following command:
sudo dnf remove linuxptp
References
Summary
In this tutorial we learn how to install linuxptp on CentOS 7 using yum and dnf.