我正在使用 Red hat(Red Hat Enterprise Linux 版本 8.2 (Ootpa) - 4.18.0-193.14.3.el8_2.x86_64)。当我使用 rpm 包和命令安装perl 包dnf install perl-libs-5.26.3-419.el8.x86_64.rpm
时。但它要求
- nothing provides perl(Carp) needed by perl-libs-4:5.26.3-419.el8.x86_64
- nothing provides perl(Encode) needed by perl-libs-4:5.26.3-419.el8.x86_64
- nothing provides perl(Exporter) needed by perl-libs-4:5.26.3-419.el8.x86_64
所以,我安装了perl (Carp) ,但它仍然要求perl(Exporter),然后我安装 perl(Exporter),它要求 perl(Carp)。
- nothing provides perl(:MODULE_COMPAT_5.26.3) needed by perl-Exporter-5.72-396.el8.noarch
- nothing provides perl(strict) needed by perl-Exporter-5.72-396.el8.noarch
- nothing provides perl(warnings) needed by perl-Exporter-5.72-396.el8.noarch
- nothing provides perl(:VERSION) >= 5.6.0 needed by perl-Exporter-5.72-396.el8.noarch
- nothing provides perl(Carp) >= 1.05 needed by perl-Exporter-5.72-396.el8.noarch
有什么方法可以通过 pkg 或其他本地方式安装 perl(我可以将文件推送到服务器,但无法从服务器到互联网)?