百胜没有安装

时间:2015-05-13 09:23:09

标签: yum

我试图在我的 ubuntu 14.04 上安装yum并在fedora中使用 libcgroup 来安装我使用的必需软件包

$ sudo yum install libcgroup libcgroup-tools

它会抛出错误

  

没有启用的回购。    运行" yum repolist all"看到你有的回购。    您可以使用yum-config-manager启用repos --enable
  test @ test-desktop:〜$ yum repolist all   repolist:0

任何人都有解决方法吗?

1 个答案:

答案 0 :(得分:1)

添加以下存储库。

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

要启用所有ubuntu软件(main universe restricted multiverse)存储库,请使用

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"

你也可以添加不同链接的partner存储库(请参阅ubuntu与规范的区别)

sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"

然后更新包列表:

sudo apt-get update

然后 sudo apt-get install pakagename喜欢

sudo apt-get install libcgroup

P.S。

对于存储库中的所有差异,请阅读https://help.ubuntu.com/community/Repositories/Ubuntu

相关问题