centos8 - 有人知道如何在 Centos8 上安装 `moreutils` 吗?
问题描述
有人知道如何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'
我已经安装了epel-release
和perl
软件包。
解决方案
enable repo 参数区分大小写,powertools 需要完全小写,而不是 Pascal Cased。
这有效:
dnf install epel-release -y
dnf --enablerepo=powertools install moreutils -y
推荐阅读
- c# - 使用 Redis 实现排序、搜索和分页以获得最佳性能的最佳方式
- javascript - 使用 bind 来利用另一个 Javascript 类的方法
- javascript - Axios vue.js CORS 错误,代理未定义响应
- netty - 未调用 ChannelRead
- c++ - “由于调用...,noexcept-expression 评估为 'false'”是什么意思?
- python - 如何使用烧瓶在多个页面中显示用户名?
- java - 如何使用 Java 客户端在 Elasticsearch 中查询多值数组字段?
- java - 来自其他类的方法和 toString() 的使用
- python - python中的泰勒展开
- javascript - 在客户端模拟 HTTP 请求