How To Install mc on AlmaLinux 8
Introduction
In this tutorial we learn how to install mc
on AlmaLinux 8.
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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mc.
Install mc on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install mc
using dnf
by running the following command:
sudo dnf -y install mc
Install mc on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mc
using yum
by running the following command:
sudo yum -y install mc
How To Uninstall mc on AlmaLinux 8
To uninstall only the mc
package we can use the following command:
sudo dnf remove mc
References
Summary
In this tutorial we learn how to install mc
on AlmaLinux 8 using yum and dnf.