How To Install libtcpcrypt-dev on Ubuntu 18.04

In this tutorial we learn how to install libtcpcrypt-dev on Ubuntu 18.04. libtcpcrypt-dev is Library to retrieve the tcpcrypt session ID where available

Introduction

In this tutorial we learn how to install libtcpcrypt-dev on Ubuntu 18.04.

What is libtcpcrypt-dev

libtcpcrypt-dev is:

Tcpcrypt offers opportunistic security for TCP network traffic. All traffic between two tcpcrypt-enabled peers will be encrypted to protect against passive monitoring. tcpcrypt also exposes a strong session identifier to tcpcrypt-aware clients, which can be used as a hook for authentication.

This package contains header files and directives for building tools that use libtcpcrypt.

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

Install libtcpcrypt-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libtcpcrypt-dev

Install libtcpcrypt-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtcpcrypt-dev

Install libtcpcrypt-dev Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install libtcpcrypt-dev

How To Uninstall libtcpcrypt-dev on Ubuntu 18.04

To uninstall only the libtcpcrypt-dev package we can use the following command:

sudo apt-get remove libtcpcrypt-dev

Uninstall libtcpcrypt-dev And Its Dependencies

To uninstall libtcpcrypt-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libtcpcrypt-dev

Remove libtcpcrypt-dev Configurations and Data

To remove libtcpcrypt-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libtcpcrypt-dev

Remove libtcpcrypt-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtcpcrypt-dev

References

Summary

In this tutorial we learn how to install libtcpcrypt-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.