Fedora 24: Install Midnight Commander

This article will describe installing Midnight Commander which is a CUI file manager.


1 Install Midnight Commander

Midnight Commander of Fedora 24 have an error with viewing zip file.

gzip: stdin has more than one entry--rest ignored


Installing Midnight Commander of CentOS 7 will resolve this error.

sudo dnf builddep -y mc
sudo dnf instal -y rpmdevtools
wget ${CENTOS}/7/os/Source/SPackages/mc-4.8.7-8.el7.src.rpm
rpmbuild --rebuild mc-4.8.7-8.el7.src.rpm
sudo dnf install -y rpmbuild/RPMS/x86_64/mc-4.8.7-8.fc24.x86_64.rpm
wget https://raw.githubusercontent.com/MidnightCommander/mc/master/misc/skins/modarcon16.ini
sudo cp modarcon16.ini /usr/share/mc/skins/

2 Execution result

Apply this configuration and mc works.