How To Install mc on CentOS 7
Introduction
In this tutorial we learn how to install mc
on CentOS 7.
What is mc
Midnight Commander is a visual shell much like a file manager, only with many more features. It is a text mode application, but it also includes mouse support. Midnight Commander’s best features are its ability to FTP, view tar and zip files, and to poke into RPMs for specific files.
We can use yum
or dnf
to install mc
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mc.
Install mc on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install mc
using yum
by running the following command:
Install mc on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install mc
using dnf
by running the following command:
How To Uninstall mc on CentOS 7
To uninstall only the mc
package we can use the following command:
References
Summary
In this tutorial we learn how to install mc
on CentOS 7 using yum
and dnf
.