Set up 'gpg' (GnuPG) for public key verification under Linux

article #921, updated 610 days ago

Verification of packages and many other things under Linux, is often done with GnuPG, also called gpg. Distros don’t always come with this set up completely, because users often have divergent needs. But if you should see anything remotely like this:

linux-3.18.tar ... FAILED (unknown public key 79BE3E4300411886)

edit the file ~/.gnupg/gnupg.conf, and place these contents at the top:

keyserver hkp://

and then run the following command on the missing key(s):

gpg --recv-keys 79BE3E4300411886

Categories:   Linux OS-level Issues