ubuntu使用yum命令时报错解决方法

来源:互联网 发布:英文小说阅读软件 编辑:程序博客网 时间:2024/06/05 14:57
root@i-ka9tolv1:/home/ubuntu/local/nginx-1.6.2# yum -y install openssl openssl-devel
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.

 You can enable repos with yum-config-manager --enable <repo>

原因ubuntu14.0 不支持yum下载按装机制 
正确的命令是:
sudo apt-get install openssl
sudo apt-get install libssl-dev

原创粉丝点击