ubuntu16.04 yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.(代码片段
Posted Dontla
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu16.04 yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.(代码片段相关的知识,希望对你有一定的参考价值。
如图错误:
[root@ubuntu /home/arnold/Arnold_test/20211023_nginx]1# yum -y install make zlib zlib-devel gcc-c++ libtool 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>
ubuntu下不用yum,应该用apt或apt-get
linux系统基本上分两大类:
1 RedHat系列:Redhat、Centos、Fedora等
2 Debian系列:Debian、Ubuntu等
RedHat 系列:
1 常见的安装包格式 rpm 包,安装rpm包的命令是 “rpm -参数”
2 包管理工具 yum
3 支持tar包
Debian系列:
1 常见的安装包格式 deb 包,安装deb包的命令是 “dpkg -参数”
2 包管理工具 apt-get
3 支持tar包
以上是关于ubuntu16.04 yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.(代码片段的主要内容,如果未能解决你的问题,请参考以下文章
于在Python3.6.7 +Ubuntu16.04下安装channels报错
virtualenvwrapper.sh报错: There was a problem running the initialization hooks.解决
Centos7最小化安装报错There are no enabled repos. Run "yum repolist all" to see the repos you have