Last active
July 28, 2019 12:27
-
-
Save alxhotel/196dd5a2cbe96e2f84ad837aa089224c to your computer and use it in GitHub Desktop.
Install Latest OpenSSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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