installing openssl code example
Example 1: how to install openssl on windows 10
choco install openssl
Example 2: install openssl 1.0.2
# (Install compiling library Make)
sudo apt-get install make
# (Download the latest OpenSSL 1.0.2g binaries)
wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
# (Extract the tar ball to the local directory)
tar -xzvf openssl-1.0.2l.tar.gz
# (Enter extracted OpenSSL directory)
cd openssl-1.0.2l
# (Configure binaries for compiling)
sudo ./config
# (install configured binaries)
sudo make install
# (This will create a sym link to the new binaries)
sudo ln -sf /usr/local/ssl/bin/openssl `which openssl`
# (Used to check the version of the Current OpenSSL binaries)
openssl version -v