How To Install linuxptp on Rocky Linux 8
Introduction
In this tutorial we learn how to install linuxptp
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install linuxptp.
Install linuxptp on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install linuxptp
using dnf
by running the following command:
sudo dnf -y install linuxptp
Install linuxptp on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install linuxptp
using yum
by running the following command:
sudo yum -y install linuxptp
How To Uninstall linuxptp on Rocky Linux 8
To uninstall only the linuxptp
package we can use the following command:
sudo dnf remove linuxptp
linuxptp Package Contents on Rocky Linux 8
/etc/ptp4l.conf
/etc/sysconfig/phc2sys
/etc/sysconfig/ptp4l
/etc/timemaster.conf
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/aa3d72268c44bd9d75c7208d8b06234c3ff3b5
/usr/lib/.build-id/21
/usr/lib/.build-id/21/74466d5ef573dbf84043b7823c2df5c1e98a25
/usr/lib/.build-id/40
/usr/lib/.build-id/40/094df69d17d6134fcf2e2d26ad8dc0054d9d58
/usr/lib/.build-id/71
/usr/lib/.build-id/71/bcf2dba1349e027b3aa301845362f1661b7320
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/788f54a9f8971344984feee071da34d0caa5d2
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/cfbdc76d9e664caa1fee2410f0c6dd53f8848e
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/35a5d44d85f25014cee115186872f5102ab536
/usr/lib/systemd/system/phc2sys.service
/usr/lib/systemd/system/ptp4l.service
/usr/lib/systemd/system/timemaster.service
/usr/sbin/hwstamp_ctl
/usr/sbin/nsm
/usr/sbin/phc2sys
/usr/sbin/phc_ctl
/usr/sbin/pmc
/usr/sbin/ptp4l
/usr/sbin/timemaster
/usr/share/doc/linuxptp
/usr/share/doc/linuxptp/COPYING
/usr/share/doc/linuxptp/README.org
/usr/share/doc/linuxptp/configs
/usr/share/doc/linuxptp/configs/E2E-TC.cfg
/usr/share/doc/linuxptp/configs/G.8265.1.cfg
/usr/share/doc/linuxptp/configs/G.8275.1.cfg
/usr/share/doc/linuxptp/configs/G.8275.2.cfg
/usr/share/doc/linuxptp/configs/P2P-TC.cfg
/usr/share/doc/linuxptp/configs/UNICAST-MASTER.cfg
/usr/share/doc/linuxptp/configs/UNICAST-SLAVE.cfg
/usr/share/doc/linuxptp/configs/default.cfg
/usr/share/doc/linuxptp/configs/gPTP.cfg
/usr/share/man/man5/ptp4l.conf.5.gz
/usr/share/man/man5/timemaster.conf.5.gz
/usr/share/man/man8/hwstamp_ctl.8.gz
/usr/share/man/man8/phc2sys.8.gz
/usr/share/man/man8/phc_ctl.8.gz
/usr/share/man/man8/pmc.8.gz
/usr/share/man/man8/ptp4l.8.gz
/usr/share/man/man8/timemaster.8.gz
/etc/ptp4l.conf
/etc/sysconfig/phc2sys
/etc/sysconfig/ptp4l
/etc/timemaster.conf
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/4b040f6767432ead9ac2596d2cea0442482e59
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/25f1ff77fa714a2588ae03f2e61f22f0e05a7f
/usr/lib/.build-id/30
/usr/lib/.build-id/30/81cbe984ee0bf733b1d4a1b80f26bdc96287cd
/usr/lib/.build-id/38
/usr/lib/.build-id/38/ccae467f05906ab766569ad5f98cd80168082d
/usr/lib/.build-id/72
/usr/lib/.build-id/72/047f545e0e86e3ea8c425313a23ae241ebaa37
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/584f089e32bd635d6306ec9112b66119a08b60
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/012dfd61aa7fd1cea1a0a1cb1c800f2d75f365
/usr/lib/systemd/system/phc2sys.service
/usr/lib/systemd/system/ptp4l.service
/usr/lib/systemd/system/timemaster.service
/usr/sbin/hwstamp_ctl
/usr/sbin/nsm
/usr/sbin/phc2sys
/usr/sbin/phc_ctl
/usr/sbin/pmc
/usr/sbin/ptp4l
/usr/sbin/timemaster
/usr/share/doc/linuxptp
/usr/share/doc/linuxptp/COPYING
/usr/share/doc/linuxptp/README.org
/usr/share/doc/linuxptp/configs
/usr/share/doc/linuxptp/configs/E2E-TC.cfg
/usr/share/doc/linuxptp/configs/G.8265.1.cfg
/usr/share/doc/linuxptp/configs/G.8275.1.cfg
/usr/share/doc/linuxptp/configs/G.8275.2.cfg
/usr/share/doc/linuxptp/configs/P2P-TC.cfg
/usr/share/doc/linuxptp/configs/UNICAST-MASTER.cfg
/usr/share/doc/linuxptp/configs/UNICAST-SLAVE.cfg
/usr/share/doc/linuxptp/configs/default.cfg
/usr/share/doc/linuxptp/configs/gPTP.cfg
/usr/share/man/man5/ptp4l.conf.5.gz
/usr/share/man/man5/timemaster.conf.5.gz
/usr/share/man/man8/hwstamp_ctl.8.gz
/usr/share/man/man8/phc2sys.8.gz
/usr/share/man/man8/phc_ctl.8.gz
/usr/share/man/man8/pmc.8.gz
/usr/share/man/man8/ptp4l.8.gz
/usr/share/man/man8/timemaster.8.gz
References
Summary
In this tutorial we learn how to install linuxptp
on Rocky Linux 8 using yum and dnf.