gpgmailtunl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gpgmailtunl: command not found
or when using sudo you get the following error message
sudo: gpgmailtunl: command not found
Solutions to gpgmailtunl: command not found
How To Fix gpgmailtunl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gpgmailtunl is provided by libgnupg-perl package.
libgnupg-perl is:
GnuPG is a Perl module that provides a limited programmatic interface to the GNU Privacy Guard program. It uses the coprocess hook system provided by gpg and communicates using shared memory. It attempts to map the interactive interface offered by the gpg command-line tool to a more programmatic API.
This module is compatible with the “classic” 1.4 version of gnupg only. It does not work with modern gnupg 2.1x currently.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libgnupg-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libgnupg-perl.
sudo apt -y install libgnupg-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libgnupg-perl
Summary
In this tutorial we learn how to fix gpgmailtunl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.