我怎么知道什么需要 yum 来安装这些依赖项?



yum update我得到以下结果:

kernel-modules-extra              x86_64 3.18.7-100.fc20                       @updates/20
                  8.3 M
Installing for dependencies:
GeoIP-GeoLite-data                noarch 2015.04-1.fc21                        updates 347 k
GeoIP-GeoLite-data-extra          noarch 2015.04-1.fc21                        updates  23 M
R-core                            x86_64 3.1.3-1.fc21                          updates  48 M
R-core-devel                      x86_64 3.1.3-1.fc21                          updates 100 k
dleyna-connector-dbus             x86_64 0.2.0-4.fc21                          updates  24 k
dleyna-core                       x86_64 0.4.0-3.fc21                          fedora   30 k
dleyna-server                     x86_64 0.4.0-7.fc21                          updates  70 k
geoipupdate                       x86_64 2.2.1-2.fc21                          updates  33 k
lz4                               x86_64 r128-2.fc21                           updates  68 k

我想知道什么需要R-core因为我自己构建了它并且不希望安装它......一定有什么东西我必须删除...

rpm -q --whatrequires R-core可能会告诉你。

如果没有,则可能是库或二进制依赖项,因此您需要对rpm -q --provides R-core和/或rpm -ql R-core输出中列出的各种库/二进制文件运行yum whatrequires

话虽如此,在这种情况下,您自己构建 R 的事实不会对您有所帮助,因为 rpm 对此一无所知(也不太可能安装在官方 Fedora 软件包可以使用的位置)。

如果你自己将 R 构建为 rpm,你也许能够正确地满足这种依赖关系(不管它是什么)。

最新更新