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

后端 未结 2 2028
礼貌的吻别
礼貌的吻别 2020-12-29 05:28

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

相关标签:
2条回答
  • 2020-12-29 06:12

    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.

    0 讨论(0)
  • 2020-12-29 06:28

    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.

    0 讨论(0)
提交回复
热议问题