g.pickardou Asked: 2022-10-17 00:19:37 +0800 CST2022-10-17 00:19:37 +0800 CST 2022-10-17 00:19:37 +0800 CST RHEL 7 最新版本缺少 Midnight Commander 选项/外观菜单 772 我正在使用 RHEL 7.9 并mc使用以下命令进行安装: yum update yum install mc 选项/外观菜单项丢失。 在 RHEL 8.1 上执行相同操作会提供选项/外观,可能它是不同版本的mc. 在 rhel7 我有 1:4.8.7-11.el7 在 rhel8 我有 1:4.8.19-9.el8 问题 如何将mc版本安装到具有选项/外观菜单的 RHEL 7.9? rhel mc 1 个回答 Voted Best Answer Artem S. Tashkinov 2022-10-17T01:44:09+08:002022-10-17T01:44:09+08:00 获取 MC 4.8.19 的 src rpm(我没有订阅,我不知道从哪里获得)。这也应该有效:wget http://vault.centos.org/8-stream/AppStream/Source/SPackages/mc-4.8.19-9.el8.src.rpm sudo dnf install rpm-build gcc make aspell-devel e2fsprogs-devel glib2-devel gpm-devel groff-base perl-generators pkgconfig slang-devel rpmbuild --rebuild mc-4.8.19-9.el8.src.rpm sudo rpm -Uvh /home/username/rpmbuild/RPMS/x86_64/mc-4.8.19-9.el8.x86_64.rpm
wget http://vault.centos.org/8-stream/AppStream/Source/SPackages/mc-4.8.19-9.el8.src.rpm
sudo dnf install rpm-build gcc make aspell-devel e2fsprogs-devel glib2-devel gpm-devel groff-base perl-generators pkgconfig slang-devel
rpmbuild --rebuild mc-4.8.19-9.el8.src.rpm
sudo rpm -Uvh /home/username/rpmbuild/RPMS/x86_64/mc-4.8.19-9.el8.x86_64.rpm