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

1

6

Has anyone figured out how to install moreutils on Centos8?

I'm getting this error:

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

I have both the epel-release and perl packages installed.

Zero answered 17/8, 2021 at 20:49 Comment(0)
Z
7

The enable repo argument is case sensitive and powertools needs to be fully lower cased as opposed to Pascal Cased.

This works:

dnf install epel-release -y
dnf --enablerepo=powertools install moreutils -y
Zero answered 18/8, 2021 at 14:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.