如何在默认映像 Amazon EC2 实例上安装moreutils ?这些实例是基于 CentOS 构建的,但可能有自己的软件包存储库
sudo yum install moreutils
Run Code Online (Sandbox Code Playgroud)
失败了
No package moreutils available.
Run Code Online (Sandbox Code Playgroud)
我需要安装 moreutils 的 yum 存储库是什么?
有谁知道如何moreutils在 Centos8 上安装吗?
我收到此错误:
[root@default-bento-centos-8 vagrant]# dnf install moreutils
Last metadata expiration check: 0:19:17 ago on Tue 17 Aug 2021 08:27:50 PM UTC.
Error:
Problem: conflicting requests
- nothing provides perl(IPC::Run) needed by moreutils-0.63-1.el8.x86_64
- nothing provides perl-IPC-Run needed by moreutils-0.63-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@default-bento-centos-8 vagrant]# dnf -y --enablerepo=PowerTools install moreutils
Error: Unknown repo: 'PowerTools'
Run Code Online (Sandbox Code Playgroud)
我已经安装了epel-release和perl软件包。