How To Install stone on Ubuntu 18.04

In this tutorial we learn how to install stone on Ubuntu 18.04. stone is TCP/IP packet repeater in the application layer

Introduction

In this tutorial we learn how to install stone on Ubuntu 18.04.

What is stone

stone is:

It repeats TCP and UDP packets from inside to outside of a firewall, or from outside to inside. Stone supports SSL. stone can encrypt/decrypt packets with OpenSSL library. Stone can also be a tiny http proxy. POP -> APOP conversion. With stone and a mailer that does not support APOP, you can access to an APOP server.

There are three methods to install stone 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 stone Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install stone

Install stone Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install stone

Install stone 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 stone using aptitude by running the following command:

sudo aptitude -y install stone

How To Uninstall stone on Ubuntu 18.04

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

sudo apt-get remove stone

Uninstall stone And Its Dependencies

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

sudo apt-get -y autoremove stone

Remove stone Configurations and Data

To remove stone configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge stone

Remove stone configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge stone

References

Summary

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