gpgv2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gpgv2: command not found
or when using sudo you get the following error message
sudo: gpgv2: command not found
Solutions to gpgv2: command not found
How To Fix gpgv2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gpgv2 is provided by gpgv2 package.
gpgv2 is:
GnuPG is GNU’s tool for secure communication and data storage. gpgv is a stripped-down version of gpg which is only able to check signatures.
This is a dummy transitional package that provides symlinks from gpgv2 to gpgv.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gpgv2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gpgv2.
sudo apt -y install gpgv2
Or if you have aptitude installed you can use the following command.
sudo aptitude install gpgv2
Summary
In this tutorial we learn how to fix gpgv2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.