为什么"apt-get install openssl"没有安装最新版本的OpenSSL? [英] Why 'apt-get install openssl' did not install last version of OpenSSL?

查看:1141
本文介绍了为什么"apt-get install openssl"没有安装最新版本的OpenSSL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用"apt-get install openssl"时,我的Ubuntu 16.04安装了OpenSSL 1.0.2g版本.我希望安装1.1.0版本.

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.

为什么不安装1.1.0版本?如何安装最新版本?

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

谢谢.

推荐答案

您应在

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.

这篇关于为什么"apt-get install openssl"没有安装最新版本的OpenSSL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆