Installing new gpg versions

Doug Barton dougb at
Thu Oct 3 21:04:32 CEST 2013

On 10/03/2013 09:42 AM, DUELL, BOB wrote:
> Hi,
> I have a likely naïve question about upgrading gpg on my UNIX (Solaris SPARC) server.
> Let's suppose I have an "old" version of gpg installed here: /opt/app/p1sas1c1/apps/gnupg. I installed the software using my "application" account and had my SA execute these commands as "root":
> ln -s /opt/app/p1sas1c1/apps/gnupg/bin/gpg       /usr/local/bin/gpg;
> ln -s /opt/app/p1sas1c1/apps/gnupg/gpg-zip       /usr/local/bin/gpg-zip;
> ln -s /opt/app/p1sas1c1/apps/gnupg/bin/gpgsplit  /usr/local/bin/gpgsplit;
> ln -s /opt/app/p1sas1c1/apps/gnupg/bin/gpgv      /usr/local/bin/gpgv
> cp -p /opt/app/p1sas1c1/apps/gnupg/share/man/man1/* /usr/local/man/man1
> Now, suppose I want to upgrade to a new version.  I download the source and read the INSTALL and README files on how to proceed.  All good so far.
> My question: if I use these commands:
> ./configure --prefix=/opt/app/p1sas1c1/apps/gnupg
> make
> make install
> Should I first delete the contents of the existing target directory


> As a side comment, I discovered that I need to define the "umask" properly during the install process; the default value denied "read and execute" permissions to "other".  I used "umask 002" to overcome this issue.  If this is generally useful, perhaps the INSTALL document can be revised.

002 has been the default basically since day 1. People who use other 
than the default are expected to deal with the consequences.


More information about the Gnupg-users mailing list