How To Install dnscrypt-proxy-plugins on Ubuntu 18.04

In this tutorial we learn how to install dnscrypt-proxy-plugins on Ubuntu 18.04. dnscrypt-proxy-plugins is Plugins for dnscrypt-proxy

Introduction

In this tutorial we learn how to install dnscrypt-proxy-plugins on Ubuntu 18.04.

What is dnscrypt-proxy-plugins

dnscrypt-proxy-plugins is:

dnscrypt-proxy provides local service which can be used directly as your local resolver or as a DNS forwarder, encrypting and authenticating requests using the DNSCrypt protocol and passing them to an upstream server.

This package provides a variety of plugins for dnscrypt-proxy.

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

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

sudo apt-get update

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

sudo apt-get -y install dnscrypt-proxy-plugins

Install dnscrypt-proxy-plugins Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dnscrypt-proxy-plugins using apt by running the following command:

sudo apt -y install dnscrypt-proxy-plugins

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

sudo aptitude -y install dnscrypt-proxy-plugins

How To Uninstall dnscrypt-proxy-plugins on Ubuntu 18.04

To uninstall only the dnscrypt-proxy-plugins package we can use the following command:

sudo apt-get remove dnscrypt-proxy-plugins

Uninstall dnscrypt-proxy-plugins And Its Dependencies

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

sudo apt-get -y autoremove dnscrypt-proxy-plugins

Remove dnscrypt-proxy-plugins Configurations and Data

To remove dnscrypt-proxy-plugins configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge dnscrypt-proxy-plugins

Remove dnscrypt-proxy-plugins configuration, data, and all of its dependencies

We can use the following command to remove dnscrypt-proxy-plugins configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dnscrypt-proxy-plugins

References

Summary

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