首页 > 解决方案 > 无法在 RHEL8 上安装 yum downloadonly 插件

问题描述

我正在尝试使用 $yum install yum-downloadonly 安装 Yum downloadonly 插件,但我收到“错误:无法找到匹配项:yum-downloadonly”。我正在使用 RHEL 8。非常感谢这方面的任何帮助。

我正在使用 RHEL8.3

标签: linuxpluginsrhel8

解决方案


在 RHEL8.x 上,您可以通过 dnf 实现,它已经内置了这样的功能:

dnf download rootsh

或包括依赖项:

dnf download rootsh --resolve

取自:https ://linoxide.com/download-packages-without-installing-rpm-distros/


推荐阅读