How To Install i2p-doc on Ubuntu 18.04

In this tutorial we learn how to install i2p-doc on Ubuntu 18.04. i2p-doc is Invisible Internet Project (I2P) - developer documentation

Introduction

In this tutorial we learn how to install i2p-doc on Ubuntu 18.04.

What is i2p-doc

i2p-doc is:

I2P is an anonymizing network, offering a simple layer that identity-sensitive applications can use to securely communicate. All data is wrapped with several layers of encryption, and the network is both distributed and dynamic, with no trusted parties.

This package contains the Javadoc files.

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

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

sudo apt-get update

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

sudo apt-get -y install i2p-doc

Install i2p-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install i2p-doc

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

sudo aptitude -y install i2p-doc

How To Uninstall i2p-doc on Ubuntu 18.04

To uninstall only the i2p-doc package we can use the following command:

sudo apt-get remove i2p-doc

Uninstall i2p-doc And Its Dependencies

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

sudo apt-get -y autoremove i2p-doc

Remove i2p-doc Configurations and Data

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

sudo apt-get -y purge i2p-doc

Remove i2p-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge i2p-doc

References

Summary

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