How To Install ntp-refclock on Fedora 36

In this tutorial we learn how to install ntp-refclock in Fedora 36. ntp-refclock is Drivers for hardware reference clocks

Introduction

In this tutorial we learn how to install ntp-refclock on Fedora 36.

What is ntp-refclock

ntp-refclock is a wrapper for reference clock drivers included in the ntpd daemon, which enables other NTP implementations to use the supported hardware reference clocks for synchronization of the system clock. It provides a minimal environment for the drivers to be able to run in a separate process, measuring the offset of the system clock relative to the reference clock and sending the measurements to another process controlling the system clock.

We can use yum or dnf to install ntp-refclock on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ntp-refclock.

Install ntp-refclock on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ntp-refclock

Install ntp-refclock on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ntp-refclock using yum by running the following command:

sudo yum -y install ntp-refclock

How To Uninstall ntp-refclock on Fedora 36

To uninstall only the ntp-refclock package we can use the following command:

sudo dnf remove ntp-refclock

ntp-refclock Package Contents on Fedora 36

/etc/sysconfig/ntp-refclock
/etc/udev/rules.d/80-ntp-refclock.rules
/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/4ba6d9bd5569cfa977c535e42b00e9a39e359e
/usr/lib/systemd/system/ntp-refclock.service
/usr/lib/systemd/system/[email protected]
/usr/sbin/ntp-refclock
/usr/share/doc/ntp-refclock
/usr/share/doc/ntp-refclock/NEWS
/usr/share/doc/ntp-refclock/README
/usr/share/doc/ntp-refclock/drivers
/usr/share/doc/ntp-refclock/drivers/driver1.html
/usr/share/doc/ntp-refclock/drivers/driver10.html
/usr/share/doc/ntp-refclock/drivers/driver11.html
/usr/share/doc/ntp-refclock/drivers/driver12.html
/usr/share/doc/ntp-refclock/drivers/driver16.html
/usr/share/doc/ntp-refclock/drivers/driver18.html
/usr/share/doc/ntp-refclock/drivers/driver19.html
/usr/share/doc/ntp-refclock/drivers/driver20.html
/usr/share/doc/ntp-refclock/drivers/driver22.html
/usr/share/doc/ntp-refclock/drivers/driver26.html
/usr/share/doc/ntp-refclock/drivers/driver27.html
/usr/share/doc/ntp-refclock/drivers/driver28.html
/usr/share/doc/ntp-refclock/drivers/driver29.html
/usr/share/doc/ntp-refclock/drivers/driver3.html
/usr/share/doc/ntp-refclock/drivers/driver30.html
/usr/share/doc/ntp-refclock/drivers/driver31.html
/usr/share/doc/ntp-refclock/drivers/driver32.html
/usr/share/doc/ntp-refclock/drivers/driver33.html
/usr/share/doc/ntp-refclock/drivers/driver34.html
/usr/share/doc/ntp-refclock/drivers/driver35.html
/usr/share/doc/ntp-refclock/drivers/driver36.html
/usr/share/doc/ntp-refclock/drivers/driver37.html
/usr/share/doc/ntp-refclock/drivers/driver38.html
/usr/share/doc/ntp-refclock/drivers/driver39.html
/usr/share/doc/ntp-refclock/drivers/driver4.html
/usr/share/doc/ntp-refclock/drivers/driver40-ja.html
/usr/share/doc/ntp-refclock/drivers/driver40.html
/usr/share/doc/ntp-refclock/drivers/driver42.html
/usr/share/doc/ntp-refclock/drivers/driver43.html
/usr/share/doc/ntp-refclock/drivers/driver44.html
/usr/share/doc/ntp-refclock/drivers/driver45.html
/usr/share/doc/ntp-refclock/drivers/driver46.html
/usr/share/doc/ntp-refclock/drivers/driver5.html
/usr/share/doc/ntp-refclock/drivers/driver6.html
/usr/share/doc/ntp-refclock/drivers/driver7.html
/usr/share/doc/ntp-refclock/drivers/driver8.html
/usr/share/doc/ntp-refclock/drivers/driver9.html
/usr/share/doc/ntp-refclock/drivers/icons
/usr/share/doc/ntp-refclock/drivers/icons/home.gif
/usr/share/doc/ntp-refclock/drivers/icons/mail2.gif
/usr/share/doc/ntp-refclock/drivers/mx4200data.html
/usr/share/doc/ntp-refclock/drivers/oncore-shmem.html
/usr/share/doc/ntp-refclock/drivers/scripts
/usr/share/doc/ntp-refclock/drivers/scripts/footer.txt
/usr/share/doc/ntp-refclock/drivers/scripts/style.css
/usr/share/doc/ntp-refclock/drivers/tf582_4.html
/usr/share/licenses/ntp-refclock
/usr/share/licenses/ntp-refclock/COPYRIGHT
/usr/share/licenses/ntp-refclock/COPYRIGHT.ntp-refclock
/usr/share/man/man8/ntp-refclock.8.gz

References

Summary

In this tutorial we learn how to install ntp-refclock on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).