installing version 2.1.4 in Debian 8.0 (Jessie)

Peter Lebbing peter at digitalbrains.com
Wed May 27 12:03:00 CEST 2015


On 27/05/15 06:22, Rex Kneisley wrote:
> As a follow up. Since, version 1.4 is also installed, my assumption
> is that using "gpg" on the command line invokes 1.4, and using "gpg2"
> on the command line invokes 2.x. Is my assumption correct?

Yes.

> If so, is there any way to make the command "gpg" invoke version 2.x?
> It is a bit tedious to add the 2 on every command to ensure I am
> invoking version 2.x

I wouldn't recommend it, since you might change it for scripts and
programs as well as for yourself, and the programs will expect GnuPG
1.4. It might in some cases matter.

If you find adding the 2 tedious, you could make a symlink titled "g" or
"gp"... that way, you save a letter instead of having to type one extra,
and there is no chance that any script or program that executes "gpg"
expecting 1.4 will accidentally pick your symlink.

And the safest place anyway for such a symlink would be in $HOME/bin,
since this will keep it out of sight of programs that just use the
system-wide $PATH.

$ cd
$ mkdir bin
$ cd bin
$ ln -s /usr/bin/gpg2 gp

I think your .profile likely already contains the following:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

And in that case, you need to log out and log back in and the directory
will be added to your $PATH. Under X, you probably need to log out of
the whole X session, not just start a new terminal.

>> On May 26, 2015, at 7:41 PM, gnupg-users-request at gnupg.org wrote:
>> 
>> Send Gnupg-users mailing list submissions to gnupg-users at gnupg.org
>> [...]

Could you please trim your quotes?

And unfortunately, by replying to the digest, you break threading of the
conversation. People that use a threading mail viewer see all
conversations on the mailing list grouped by individual conversation.
When you reply to the digest, this appears as a new conversation rather
than a follow-up to the existing conversation.

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list