gpg-wks-server command not found

In this troubleshooting guide we learn how to fix gpg-wks-server command not found error message

Introduction

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

gpg-wks-server: command not found

or when using sudo you get the following error message

sudo: gpg-wks-server: command not found

Solutions to gpg-wks-server: command not found

How To Fix gpg-wks-server: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gpg-wks-server is provided by gpg-wks-server package.

gpg-wks-server is:

GnuPG is GNU’s tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC4880.

This package provides the GnuPG server for the Web Key Service protocol.

A Web Key Service is a service that allows users to upload keys per mail to be verified over https as described in https://tools.ietf.org/html/draft-koch-openpgp-webkey-service

For more information see: https://wiki.gnupg.org/WKS

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

sudo apt-get -y install gpg-wks-server

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

You can also use apt command to install gpg-wks-server.

sudo apt -y install gpg-wks-server

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

sudo aptitude install gpg-wks-server

Summary

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