在 linux (CentOS 7.1) 上安装应用程序时如何解决依赖关系

How to resolve dependencies while installing application on linux (CentOS 7.1)

当我尝试在我的 CentOS 7.1 上安装 deluge 时,由于某些不适用于 CentOS 7.1 的 el6,我遇到了依赖性问题。所以,我找到了这个页面:

https://gist.github.com/dasgoll/111f6f3364e2ab97bc08


他的指示:

Centos 7.1

yum -y install wget wget hxxp://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

rpm -ivh nux-dextop-release-0-5.el7.nux.noarch.rpm

yum -y 安装 deluge-web

systemctl 启动 deluge-web

systemctl 停止 firewalld

浏览http://192.168.3.101:8112

检查一下

yum 安装 deluge-console


我的问题是:为什么他从 li.nux.ro 安装了“nux-dextop-release-0-5.el7.nux.noarch.rpm”(如果我没记错的话那是一个存储库,更正如果我是我)?因为我在尝试安装 deluge 时遇到了这个依赖问题。但是当我使用他的说明时,它会自动为我解决所有依赖项。那么他一开始安装的这个rpm文件是不是用来解决依赖关系的呢?如果不是,那么如何在安装 software/application 时解决依赖关系。比你提前。

P.S。我也在那里的评论中问了同样的问题。但我不确定是否会在那里收到回复(guy/girl - dasgoll 没有冒犯)。

第三方软件包仓库通常使用 *-release 软件包来包含 yum 仓库定义和 rpm 签名 public 密钥,以便最终用户可以使用 yum 直接从仓库安装软件包,而不是使用一个一个找到然后下载。