How To Install openpgp-applet on Debian 9

In this tutorial we learn how to install openpgp-applet on Debian 9. openpgp-applet is GNOME applet for OpenPGP text encryption

Introduction

In this tutorial we learn how to install openpgp-applet on Debian 9.

What is openpgp-applet

openpgp-applet is:

OpenPGP Applet is a graphical frontend on top of GnuPG.

It allows encryption and decryption of the clipboard’s content either with public key cryptography, or with a symmetric cipher using a passphrase. Creating and verifying clear text signatures is also supported.

Note: OpenPGP Applet does not handle passphrase input. Since it also does not offer terminal interaction unless explicitly run from there, it relies in practice on GnuPG agent to be running and configured to use a passphrase entry dialog, such as pinentry-gnome3.

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

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

sudo apt-get update

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

sudo apt-get -y install openpgp-applet

Install openpgp-applet Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install openpgp-applet

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

sudo aptitude -y install openpgp-applet

How To Uninstall openpgp-applet on Debian 9

To uninstall only the openpgp-applet package we can use the following command:

sudo apt-get remove openpgp-applet

Uninstall openpgp-applet And Its Dependencies

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

sudo apt-get -y autoremove openpgp-applet

Remove openpgp-applet Configurations and Data

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

sudo apt-get -y purge openpgp-applet

Remove openpgp-applet configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge openpgp-applet

Dependencies

openpgp-applet have the following dependencies:

References

Summary

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