Skip to content

Instantly share code, notes, and snippets.

@alxhotel
Last active July 28, 2019 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alxhotel/196dd5a2cbe96e2f84ad837aa089224c to your computer and use it in GitHub Desktop.
Save alxhotel/196dd5a2cbe96e2f84ad837aa089224c to your computer and use it in GitHub Desktop.
Install Latest OpenSSL
#!/bin/sh
LATEST_VERSION="openssl-1.1.1c"
# Get latest version
curl https://www.openssl.org/source/${LATEST_VERSION}.tar.gz --output ${LATEST_VERSION}.tar.gz
tar xvf ${LATEST_VERSION}.tar.gz
# Go into the project
cd ${LATEST_VERSION}
# Configure and install
./config
make
sudo make install
# Clean everything
cd ..
rm ${LATEST_VERSION}.tar.gz
rm -rf ${LATEST_VERSION}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment