The commands in this guide should work on any modern Linux distribution like CentOS.
First update your system
dnf update -y
To install mc, use your package manager:
dnf install mc
Launch mc from a terminal:
mc
To switch from the right pane to the left pane, or vice versa, press TAB.
Arrows: Use up and down to select, left to go back, and right to change to the selected directory.
Function keys: All the most important functions are listed at the bottom of your terminal window. Each function is assigned to a function key (F1 to F10.)
Midnight Commander comes with multiple skins by default. You can set the skin in Options > Appearance.
Close Midnight Commander by pressing F10.
For more information: