Install DEB - UG1602

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2024-12-19
Revision
1.2 English

To install using a DEB package:

  1. Unpack the DEB package:
    # tar -zxvf XN-202410-LS-<version>-Solarflare-Enhanced-PTP-Daemon-sfptpd-amd64-DEB.tgz
  2. Install the binary DEB:
    # apt-get install ./sfptpd_<version>_amd64.deb
    ...
    Suggested packages:
      ntpsec | ntp
    Recommended packages:
      sfptpd-python3
    The following NEW packages will be installed:
      sfptpd ...
    ...
    Do you want to continue? [Y/n] y
    ...
    Selecting previously unselected package sfptpd.
    Preparing to unpack .../sfptpd_<version>_amd64.deb ...
    Unpacking sfptpd (<version>) ...
    Setting up sfptpd (<version>) ...
    ...
  3. Install optional components if required:
    1. Python 3 scripts for chrony control, remote monitoring, and other examples:
      # apt-get install ./sfptpd-python3_<version>_all.deb
      ...
    2. A debug symbols package for debugging, containing debug symbol tables stripped from ELF binaries:
      # apt-get install ./sfptpd-ddbgsym_<version>_amd64.deb
      ...

Files Installed

To list the files that are installed:

# dpkg-query -L sfptpd
...

Startup Components

  • The sfptpd executable is installed into root’s path. It is not started by default, so you can first ensure its configuration is appropriate.
  • A systemd UNIT file is installed at:
    /usr/lib/systemd/system/sfptpd.service

    To enable auto-starting, use the following command:

    systemctl enable sfptpd
  • A sysvinit script is supplied in the /etc/init.d directory.

    To enable auto-starting, use the following command:

    update-rc.d sfptpd enable