kgpg command not found

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

Introduction

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

kgpg: command not found

or when using sudo you get the following error message

sudo: kgpg: command not found

Solutions to kgpg: command not found

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

In Ubuntu kgpg is provided by kgpg package.

kgpg is:

Kgpg manages cryptographic keys for the GNU Privacy Guard, and can encrypt, decrypt, sign, and verify files. It features a simple editor for applying cryptography to short pieces of text, and can also quickly apply cryptography to the contents of the clipboard.

This package is part of the KDE Utilities module.

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

sudo apt-get -y install kgpg

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

You can also use apt command to install kgpg.

sudo apt -y install kgpg

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

sudo aptitude install kgpg

Summary

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