How To Install gnupg1-curl on Debian 9

In this tutorial we learn how to install gnupg1-curl on Debian 9. gnupg1-curl is GNU privacy guard (cURL helpers for deprecated classic version)

Introduction

In this tutorial we learn how to install gnupg1-curl on Debian 9.

What is gnupg1-curl

gnupg1-curl is:

GnuPG is GNU’s tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC 4880.

This package contains the keyserver helper tools built with libcurl, which replace the ones in the gnupg1 package built with the “curl shim” variant of gnupg1. This package provides support for HKPS keyservers.

Since gnupg1 is deprecated in Debian, it is recommended that you use the gnupg package instead, and rely on the “dirmngr” package for network access. dirmngr can do everything that gnupg1-curl can do, and more.

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

Install gnupg1-curl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnupg1-curl

Install gnupg1-curl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnupg1-curl

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

sudo aptitude -y install gnupg1-curl

How To Uninstall gnupg1-curl on Debian 9

To uninstall only the gnupg1-curl package we can use the following command:

sudo apt-get remove gnupg1-curl

Uninstall gnupg1-curl And Its Dependencies

To uninstall gnupg1-curl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove gnupg1-curl

Remove gnupg1-curl Configurations and Data

To remove gnupg1-curl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge gnupg1-curl

Remove gnupg1-curl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnupg1-curl

Dependencies

gnupg1-curl have the following dependencies:

References

Summary

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