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

后端 未结 2 2030
礼貌的吻别
礼貌的吻别 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.

提交回复
热议问题