How To Install gpgv-static on Ubuntu 18.04

In this tutorial we learn how to install gpgv-static on Ubuntu 18.04. gpgv-static is minimal signature verification tool (static build)

Introduction

In this tutorial we learn how to install gpgv-static on Ubuntu 18.04.

What is gpgv-static

gpgv-static 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 is GnuPG’s signature verification tool, gpgv, built statically so that it can be directly used on any platform that is running on the Linux kernel. Android and ChromeOS are two well known examples, but there are many other platforms that this will work for, like embedded Linux OSes. This gpgv in combination with debootstrap and the Debian archive keyring allows the secure creation of chroot installs on these platforms by using the full Debian signature verification that is present in all official Debian mirrors.

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

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

sudo apt-get update

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

sudo apt-get -y install gpgv-static

Install gpgv-static Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gpgv-static

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

sudo aptitude -y install gpgv-static

How To Uninstall gpgv-static on Ubuntu 18.04

To uninstall only the gpgv-static package we can use the following command:

sudo apt-get remove gpgv-static

Uninstall gpgv-static And Its Dependencies

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

sudo apt-get -y autoremove gpgv-static

Remove gpgv-static Configurations and Data

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

sudo apt-get -y purge gpgv-static

Remove gpgv-static configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gpgv-static

References

Summary

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