以前のバージョンを指す方法は?

以前のバージョンを指す方法は?

私のサーバーのデフォルトのgpgは1.4.20です。ただし、いくつかの実験を実行するには、gpgバージョン1.4.13をインストールする必要があります。

次のコマンドを実行します。

   ./configure 
   make 
   make install

この時点で、gpgはデフォルトディレクトリ(/usr/local/bin/gpg)にインストールされます。を使用すると、gpg --version指すバージョンがであることがわかります。元のバージョン1.4.20(フォルダ1.4.13の下)をポイントしたいです。/usr/bin/gpgどうすればいいですか?

(base) :~$ type gpg
gpg is /usr/local/bin/gpg
(base) :~$ gpg --version
gpg (GnuPG) 1.4.13
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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
(base) :~$
(base) :~$
(base) :~$ /usr/bin/gpg --version
gpg (GnuPG) 1.4.20
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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

ベストアンサー1

おすすめ記事