How To Install uanytun on Debian 10

Learn how to install uanytun on Debian 10 with this tutorial. uanytun is tiny implementation of the secure anycast tunneling protocol

Introduction

In this tutorial we learn how to install uanytun on Debian 10.

What is uanytun

uanytun is:

uAnytun is a tiny implementation of SATP (Secure Anycast Tunneling Protocol). Unlike Anytun which is a full featured implementation uAnytun has no support for multiple connections or synchronisation. It is a small single threaded implementation intended to act as a client on small platforms. SATP defines a protocol used for communication between any combination of unicast and anycast tunnel endpoints. It has less protocol overhead than IPSec in Tunnel mode and allows tunneling of every ETHER TYPE protocol (e.g. ethernet, ip, arp …). SATP directly includes cryptography and message authentication based on the methodes used by SRTP (Secure Real-time Transport Protocol). It is intended to deliver a generic, scalable and secure solution for tunneling and relaying of packets of any protocol.

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

Install uanytun Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install uanytun

Install uanytun Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install uanytun

Install uanytun 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install uanytun

How To Uninstall uanytun on Debian 10

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

sudo apt-get remove uanytun

Uninstall uanytun And Its Dependencies

To uninstall uanytun and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove uanytun

Remove uanytun Configurations and Data

To remove uanytun configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge uanytun

Remove uanytun configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge uanytun

Dependencies

uanytun have the following dependencies:

References

Summary

In this tutorial we learn how to install uanytun package on Debian 10 using different package management tools: apt, apt-get and aptitude.