gpgcompose command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gpgcompose: command not found
or when using sudo you get the following error message
sudo: gpgcompose: command not found
Solutions to gpgcompose: command not found
How To Fix gpgcompose: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gpgcompose is provided by gnupg-utils package.
gnupg-utils is:
GnuPG is GNU’s tool for secure communication and data storage.
This package contains several useful utilities for manipulating OpenPGP data and other related cryptographic elements. It includes:
- addgnupghome – create .gnupg home directories
- applygnupgdefaults – run gpgconf –apply-defaults for all users
- gpgcompose – an experimental tool for constructing arbitrary sequences of OpenPGP packets (e.g. for testing)
- gpgparsemail – parse an e-mail message into annotated format
- gpgsplit – split a sequence of OpenPGP packets into files
- gpgtar – encrypt or sign files in an archive
- kbxutil – list, export, import Keybox data
- lspgpot – convert PGP ownertrust values to GnuPG
- migrate-pubring-from-classic-gpg – use only “modern” formats
- symcryptrun – use simple symmetric encryption tool in GnuPG framework
- watchgnupg – watch socket-based logs
To fix this problem, we can install more using the command below.
sudo apt-get -y install gnupg-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gnupg-utils.
sudo apt -y install gnupg-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install gnupg-utils
Summary
In this tutorial we learn how to fix gpgcompose command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.