当我使用'apt-get install openssl'时,我的Ubuntu 16.04安装了OpenSSL 1.0.2g版本。我希望安装1.1.0版本。为什么'apt-get install openssl'没有安装最新版本的OpenSSL?
为什么不安装1.1.0版本?我如何安装最新版本?
谢谢。
当我使用'apt-get install openssl'时,我的Ubuntu 16.04安装了OpenSSL 1.0.2g版本。我希望安装1.1.0版本。为什么'apt-get install openssl'没有安装最新版本的OpenSSL?
为什么不安装1.1.0版本?我如何安装最新版本?
谢谢。
您应该选择要在OpenSSL's网站上安装的版本。看来你想安装1.1.0。 因此,请按照以下步骤操作。
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
完成。它是如此简单。 祝你好运。
Stack Overflow是编程和开发问题的网站。这个问题似乎与题目无关,因为它不涉及编程或开发。请参阅帮助中心的[我可以询问哪些主题](http://stackoverflow.com/help/on-topic)。也许[超级用户](http://superuser.com/)或[请求Ubuntu](http://askubuntu.com/)会是一个更好的地方。 – jww
*“我如何安装最新版本?”* - 请参阅OpenSSL wiki上的[编译和安装](https://wiki.openssl.org/index.php/Compilation_and_Installation)。您也许能够找到[Ubuntu PPA](https://launchpad.net/ubuntu/+ppas)。 – jww
它与编程和开发生态系统有关,因此它不是无关紧要的。 – egidiocs