Skip to main content

How to Install GnuPG 2.3.0 on Ubuntu


How to Install GnuPG 2.3.0 on Ubuntu

GnuPG 2.3

GnuPG  is considered a stable branch, optimal for general use and will be supported until at least until 2024, while for the version of GnuPG 1.4, this continues to ship as the classic series low-resource, suitable for embedded systems, and compatible with legacy encryption algorithms.

Main new features of GnuPG 2.3.0

  • In this new version of GnuPG 2.3.0 it is proposed an experimental background process with implementing a key database using SQLite to store and demonstrate faster key search. To enable the new repository, enable the "use-keyboxd" option in gpg.conf and gpgsm.conf.
  • Another change that stands out is that the agent can use the "label:" value in the key file to customize the PIN request, in addition to the support for ssh-agent extensions for environment variables.
  • Also, we can find that scd support for multiple card and token readers has been improvedas the ability to use multiple applications with a specific smart card was implemented and support for PIV cards, Telesec Signature Cards v2.0 and Rohde & Schwarz Cybersecurity was also added.
  • Also a new gpg utility card has been added The Center can be used as a flexible interface for all types of smart cards supported along with a new background process, tpm2d, to enable the use of TPM 2.0 chips to protect private keys and perform encryption or digital signature operations on the TPM side.
  • Gpg has stopped using 64-bit algorithms for encryption. The use of 3DES is prohibited and AES is declared as the minimum supported algorithm. The "–allow-old-cipher-algos" option can be used to disable the constraint.

How to install GnuPG on Ubuntu and derivatives?

Currently the new version of GnuPG is not available in the official Ubuntu repositories, so those who prefer this installation medium will have to wait for the package to be updated, possibly during the course of this week and the package is available.

For those who already need to perform the update to solve the problems, they should download the source code of GnuPG from its official website, the link is this.

After that they will have to unzip the downloaded package and position themselves in a terminal within the resulting folder.

This you can do typing in the terminal:

tar xvzf gnupg-2.3.0.tar.bz2

After that we will enter the folder created with:

cd gnupg-2.3.0

Already in the terminal they will only have to type the following commands:



make check

make install