How To Install ptpd on Kali Linux

In this tutorial we learn how to install ptpd on Kali Linux. ptpd is Precision Time Protocol daemon

Introduction

In this tutorial we learn how to install ptpd on Kali Linux.

What is ptpd

ptpd is:

Implements the Precision Time Protocol (PTP) as defined by the IEEE 1588-2008 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. The source code for PTPd is freely available under a BSD-style license. Thanks to contributions from users, PTPd is becoming an increasingly portable, interoperable, and stable IEEE 1588 implementation.

For more information, see http://ptpd.sourceforge.net/

There are three methods to install ptpd on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ptpd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ptpd using apt-get by running the following command:

sudo apt-get -y install ptpd

Install ptpd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ptpd

Install ptpd Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install ptpd

How To Uninstall ptpd on Kali Linux

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

sudo apt-get remove ptpd

Uninstall ptpd And Its Dependencies

To uninstall ptpd and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ptpd

Remove ptpd Configurations and Data

To remove ptpd configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ptpd

Remove ptpd configuration, data, and all of its dependencies

We can use the following command to remove ptpd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ptpd

Dependencies

ptpd have the following dependencies:

References

Summary

In this tutorial we learn how to install ptpd package on Kali Linux using different package management tools: apt, apt-get and aptitude.