OSX: How to install gpg without Admin password

Dan Bryant dkbryant at gmail.com
Sat Aug 29 19:13:21 CEST 2015

OK, this worked in getting the binaries extracted and by setting PATH
and DYNLD_LIBRARY_PATH I can get the bins to load and dump version
information... SUCCESS...

Now my biggest problem is getting the agent and pinentry (I assume) to
talk to gpg.

I was hoping I could set bindir, libdir, libexecdir with gpgconf
(gpgconf.conf) but I can't seem to figure out how to convice gpg to
look in nonstandard paths for binaries and libraries.  Seems to be
ignoring PATH environment.


On Thu, Aug 27, 2015 at 1:31 AM, Patrick Brunschwig
<patrick at enigmail.net> wrote:
> On 26.08.15 17:16, Dan Bryant wrote:
>> I have a monitored OS X laptop that I would like to put GNU Privacy
>> Guard (gpg) on. Of course I can't because I don't have Admin rights,
>> but I was hoping there is a way to install it in user space through a
>> virtual environment or chroot, or some other wizardry, or by exacting
>> the package files.
>> Obviously I only need console access to the app.
> Just download a DMG file, open (=mount) it, and copy the PKG file to
> some temporary location. Then use pkgutil in a terminal to unpack the
> PKG file to some temp directory. Then copy whatever you need to your
> home directory.
> man pkgutil will tell you how to use it.
> -Patrick

More information about the Gnupg-users mailing list