Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why 'apt-get install openssl' did not install last version of OpenSSL?

Tags:

When I use 'apt-get install openssl', my Ubuntu 16.04 install OpenSSL 1.0.2g version. I expect to install 1.1.0 versions.

Why is not install 1.1.0 version? How can i install the last version?

Thanks.

like image 592
malievci Avatar asked Jan 27 '17 05:01

malievci


People also ask

How do I install the latest version of OpenSSL?

Open a Command Prompt (CMD) as Administrator. Run the following command: SET OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl. cfg. Reboot the computer.


1 Answers

You should choose the version you want to install on the OpenSSL's site. It seems you want to install the 1.1.0. So, do as it follows.

wget https://www.openssl.org/source/openssl-1.1.0f.tar.gz tar xzvf openssl-1.1.0f.tar.gz cd openssl-1.1.0f ./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' make sudo make install  openssl version -a 

It is done. It is as simple as that. Good luck with it.

like image 121
edson.a.soares Avatar answered Dec 01 '22 21:12

edson.a.soares