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.
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.
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.
sudo
for the make
command. You might need it for make install
if you're installing in a location that requires root permissions.
Feb 14, 2018 at 0:32
sudo
issue when you are running make, that is correct, most of the time. Thank you, Keith. I will correct the answer. A practical example of it would be that way to install Google Test framework. Once you're in a location that requires root permissions, you'll need sudo
.
Feb 22, 2018 at 20:29
make install
it. Things. Will. Break. In this case, you'll end up with two versions of openssl - the distro one managed by apt under /usr and a second one installed in /usr/local. When updating to the newer Ubuntu, apt will update its version, and this manual one will be left. Locally-built programs might be linked against one or the other, depending on environment variables. It'll make a mess long-term, and possibly short-term.
Jan 3, 2019 at 20:27
If you are using Ubuntu 18+, version 1.1.0 is now be available via apt
.
You can also use apt list openssl
to see what can be updated. And even throw in the -a
modifier to show all versions available.