Installing GnuPG

  1. Download the gnupg installation file

›_ Console

# wget https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.3.7.tar.bz2 
tmp4ctbxbtx.jpg

Downloading gnupg

  1. Extract the file

›_ Console

# tar -xjf gnupg-2.3.7.tar.bz2 
  1. Go to the directory where the file is extracted

›_ Console

# cd gnupg-2.3.7 
  1. Run the following command to compile and install

›_ Console

# ./configure  
# make 
# make install 
tmpflmwu8pc.jpg
tmpytwrpzgq.jpg

Installing gpg

  1. Export PATH and LD_LIBRARY_PATH variable

›_ Console

# export PATH=/usr/local/bin:$PATH 
# export LD_LIBRARY_PATH=/usr/local/lib 
  1. Verify that the GnuPG has been installed successfully.

›_ Console

# gpg --version 
tmp4p8q9t2a.jpg

Verifying gpg version