AppImage of GnuPG 2.3.8

Werner Koch wk at
Fri Oct 21 08:57:59 CEST 2022


For the first time we published an AppImage of GnuPG along with
Kleopatra as its GUI.  An AppImage may be used on any Linux version
without the need to build new libraries and to remove the GnuPG already
installed on the system.  It comes with the latest libraries and is
useful to try out new feature or to use a modern GnuPG if your system
only provides the LTS version of GnuPG.

This AppImage is named /GnuPG Desktop®/ and should give you a similar
experience as users of /Gpg4win/.  In fact the source code is currently
nearly identical.  If you want to build your own version see the README
in the source tarball and please take care to remove our trademarked

Links can be found at or here:

Please download both files, make sure that the App9mage is executable
("chmod +x gnupg-desktop-" if not), check the
signature as usual or compare the sha1sum:

7651072d7cecedb38b55c533544507b73e770934  gnupg-desktop-

After that you may run it:


will start the GUI

  ./gnupg-desktop- -c

will drop you in a shell where you can use this version of GnuPG on the
command line, start the GUI by running "kleopatra", or use a mail client
which then should pick up the new gpg.  You may also use --help or
--version.  For closer inspection of what is running in the AppImage,
give a "cd $APPDIR" and look around.

There are certainly some inconsistencies like Gpg4win version numbers etc
but, we will fix that over time.  Note that the AppImage takes over any
running gpg-agent but that should in general not be a problem because
all gpg-agent's are upward compatible.  If you need to start another
AppImage while the first is still running, you may want to use the
option --keep-socket.  To detect whether you are running a GnuPG
AppImage test for the environment variable "_gnupg_appimage".

In case you want to use option which are only available in gnupg 2.3.8
you either need to use a separate GNUPGHOME  like in

  GNUPGHOME=/home/foo/mygpg23 ./gnupg-desktop-

of you can use in all configuration files the meat option
"ignore-invalid-option".  For example

  ignore-invalid-option crazy-new-option another-new-option

which won't error out of one of these options is used but not supported.
If you are system installed version of gnupg is at lease 2.2.26 you may
also use a construct like

  [if $_version -v3ge 2.3.8]

If a GnuPG 2.3 version is already installed on your system and you want
to have a different configuration for the AppImage you may use

  [getenv appimage _gnupg_appimage]
  [if $appimage]
     # Options for the Appimage

in your configuration files.  To see what configuration files are read
you may invoke gpg with "--debug 0".



The pioneers of a warless world are the youth that refuse military
service.  - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list