How to get gpg2 installed on cygwin?

Trying to install gpg2 on win10. Followed bottom answer on this thread; how to install gpg on cygwin? currently it's missing

but got a problem when trying to soft linking them;

I have "the right" version when checking the new download;

$ /c/Program\ Files\ \(x86\)/GnuPG/bin/gpg.exe --version gpg (GnuPG) 2.1.21 libgcrypt 1.7.6 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: C:/Users/xxxxxxxxx/AppData/Roaming/gnupg Supported algorithms: Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 

And the old version is;

$ gpg --version gpg (GnuPG) 1.4.20 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 

Having liked both;

$ ln -s /c/Program\ Files\ \(x86\)/GnuPG/bin/gpg.exe /usr/bin/gpg2 ln: failed to create symbolic link '/usr/bin/gpg2': File exists $ ln -s /c/Program\ Files\ \(x64\)/GnuPG/bin/gpg-agent.exe /usr/bin/gpg-agent ln: failed to create symbolic link '/usr/bin/gpg-agent': File exists 

I don't get why I get this message;

$ gpg2 C:/msys64/usr/bin/gpg2: error while loading shared libraries: ?: cannot open shared object file: No such file or directory 

I am doing this because of;

$ \curl -sSL | bash -s stable ERROR: Could not find GNU compatible version of 'tar' command, make sure it's available first before continuing installation. 

If there is any other way around this to get RVM installed, I'll be happy to know

5

2 Answers

I'm trying to install gpg2 on win10

There is no need to install gpg2 using the complicated instructions in the link you have provided.

The gpg2 package is available through the normal Cygwin installer. If you install it using this it will be correctly configured.

  • Run the install program

  • Continue until you get to the "Select Packages" screen

  • Set the "View" to "Full"

  • Set "Search" to "gnupg2"

  • Click the first "Skip" (it will change to the version number 2.1.21-1)

  • Click "Next" to install

    enter image description here

0

As reported by David, GNU Privacy Guard version 2 is available on Cygwin

as last version of 1

The two versions coexist in parallel.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like