Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // To install
- # The version! Choose between 1.1.1w, 3.0.11, 3.1.3 and 3.2.0-alpha1
- # For maybe newer versions, see https://www.openssl.org/source
- version=3.2.0-alpha1
- wget https://www.openssl.org/source/openssl-$version.tar.gz
- gunzip openssl-$version.tar.gz
- tar xvf openssl-$version.tar
- mv openssl-$version /usr/local/openssl
- rm -r openssl-$version.tar
- cd /usr/local/openssl
- rm -r *.md *.txt
- ./Configure --prefix /usr/local/openssl --shared
- make install
- ldconfig /usr/local/lib64/
- cp libssl.so.3 /usr/lib
- cp libcrypto.so.3 /usr/lib
- ln -s /usr/local/openssl/apps/openssl /usr/bin
- // To uninstall
- rm -r /usr/local/openssl
- rm -r /usr/bin/openssl
- rm -r /usr/local/bin/openssl
- rm -r /usr/lib/libssl.so.3
- rm -r /usr/lib/libcrypto.so.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement