How To Install gnunet-dev on Ubuntu 18.04

In this tutorial we learn how to install gnunet-dev on Ubuntu 18.04. gnunet-dev is GNUs framework for secure peer-to-peer networking (development)

Introduction

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

What is gnunet-dev

gnunet-dev is:

GNUnet is a framework for secure peer-to-peer networking that does not use any centralized or otherwise trusted services. Its high-level goal is to provide a strong free software foundation for a global network that provides security and in particular respects privacy.

GNUnet started with an idea for anonymous censorship-resistant file-sharing, but has grown to incorporate other applications as well as many generic building blocks for secure networking applications. In particular, GNUnet now includes the GNU Name System, a privacy-preserving, decentralized public key infrastructure.

This package contains the development files.

There are three methods to install gnunet-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 gnunet-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 gnunet-dev using apt-get by running the following command:

sudo apt-get -y install gnunet-dev

Install gnunet-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnunet-dev

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

sudo aptitude -y install gnunet-dev

How To Uninstall gnunet-dev on Ubuntu 18.04

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

sudo apt-get remove gnunet-dev

Uninstall gnunet-dev And Its Dependencies

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

sudo apt-get -y autoremove gnunet-dev

Remove gnunet-dev Configurations and Data

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

sudo apt-get -y purge gnunet-dev

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

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

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

References

Summary

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