pgpgpg command not found

In this troubleshooting guide we learn how to fix pgpgpg command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pgpgpg: command not found

or when using sudo you get the following error message

sudo: pgpgpg: command not found

Solutions to pgpgpg: command not found

How To Fix pgpgpg: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pgpgpg is provided by pgpgpg package.

pgpgpg is:

Pgpgpg is a wrapper around Gnu Privacy Guard which takes PGP 2.6 command line options, translate them and then call GnuPG (Gnu Privacy Guard) to perform the desired action.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pgpgpg

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pgpgpg.

sudo apt -y install pgpgpg

Or if you have aptitude installed you can use the following command.

sudo aptitude install pgpgpg

Summary

In this tutorial we learn how to fix pgpgpg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.