有人知道如何在 Centos8 上安装 `moreutils` 吗?

Has anyone figured out how to install `moreutils` on Centos8?

有人知道如何在 Centos8 上安装 moreutils 吗?

我收到此错误:

[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'

我安装了 epel-releaseperl 软件包。

enable repo 参数区分大小写,powertools 需要完全小写,而不是 Pascal Cased。

这个有效:

dnf install epel-release -y
dnf --enablerepo=powertools install moreutils -y