红联Linux门户
Linux帮助

ubuntu安装openssl库

发布时间:2015-09-06 09:57:42来源:linux网站作者:SingcolDeng

Linux版本:ubuntu14.04

输入以下命令:

sudo apt-get install openssl
sudo apt-get install libssl-dev
sudo apt-get install libssl0.9.8

sudo apt-get install libgtk2.0-dev


备注:在执行sudo apt-get install libssl-dev时,遇到了问题:

The following packages have unmet dependencies:

libssl-dev: Depends: libssl0.9.8 (= 0.9.8k-7ubuntu8.6) but 0.9.8k-7ubuntu8.8 is to be installed

E: Broken packages


解决办法:

编辑/etc/apt/sources.list ,添加以下内容

deb http://security.ubuntu.com/ubuntu lucid-security main

# sudo apt-get update


Ubuntu编译环境构建(openssl):http://www.linuxdiyf.com/linux/13751.html

Linux下使用OpenSSL生成证书:http://www.linuxdiyf.com/linux/11951.html

Linux下OpenSSL安装图文详解:http://www.linuxdiyf.com/linux/8744.html