Created
August 28, 2016 07:16
-
-
Save calvinchengx/bdc405d6610f98c295d536ce59b7d6a6 to your computer and use it in GitHub Desktop.
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
sudo cd /usr/local && mkdir src | |
sudo chown -R `whoami`:admin src | |
cd src | |
# Download and install | |
curl --remote-name https://www.openssl.org/source/openssl-1.0.2h.tar.gz | |
tar -xzvf openssl-1.0.2h.tar.gz | |
cd openssl-1.0.2h | |
./configure darwin64-x86_64-cc --prefix=/usr/local/openssl-1.0.2h shared | |
make depend | |
make | |
make install | |
# Link | |
ln -s /usr/local/openssl-1.0.2h/bin/openssl /usr/local/bin | |
ln -s /usr/local/openssl-1.0.2h/bin/c_rehash /usr/local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment