如何在Ubuntu 14.04上为OpenSSL 1.0.2a版本安装libssl-dev?

时间:2015-04-19 07:49:26

标签: linux ubuntu openssl ubuntu-14.04 libssl

命令apt-cache policy libssl-dev显示以下输出:

libssl-dev:
  Installed: (none)
  Candidate: 1.0.1f-1ubuntu2.11
  Version table:
     1.0.1f-1ubuntu2.11 0
        500 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1.0.1f-1ubuntu2 0
        500 http://mirrors.digitalocean.com/ubuntu/ trusty/main amd64 Packages

当我通过apt-get install libssl-dev获取1.0.1f版本时安装它。但是我通过以下命令从源代码安装了最新的openssl-1.0.2a

wget http://www.openssl.org/source/openssl-1.0.2a.tar.gz
tar -xvzf openssl-1.0.2a.tar.gz
cd openssl-1.0.2a
./config --prefix=/usr/   
make
sudo make install 

如何安装libssl-dev-1.0.2a版本以与我的openssl-1.0.2a兼容?

0 个答案:

没有答案