Introduction to MC

MC (Midnight Commander) is a text-mode full-screen file manager and visual shell. It provides a clear, user-friendly, and somewhat protected interface to a Unix system while making many frequent file operations more efficient and preserving the full power of the command prompt.

本パッケージは LFS-8.3 において正しくビルドでき動作することが確認されています。

Package Information

MC Dependencies


GLib-2.58.0 and PCRE-8.42



Doxygen-1.8.14, GPM-1.20.7, Samba-4.8.5, UnZip-6.0, X ウィンドウシステム, and Zip-3.0

User Notes:

Installation of MC

Install MC by running the following commands:

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --enable-charset &&

To test the results, issue: make check. One test concerning rpm files fails.

Now, as the root user:

make install &&
cp -v doc/keybind-migration.txt /usr/share/mc

Command Explanations

--sysconfdir=/etc: This switch places the global configureation directory in /etc.

--enable-charset: This switch adds support to mcedit for editing files in encodings different from the one implied by the current locale.

Configuring MC

Config Files


Configuration Information

The ~/.config/mc directory and its contents are created when you start mc for the first time. Then you can edit the main ~/.config/mc/ini configuration file manually or through the MC shell. Consult the mc(1) man page for details.



On 8.x versions of mc, keybind names used in mc.keymap.* files are changed. This is described in keybind-migration.txt.


Installed Programs: mc and the symlinks mcdiff, mcedit and mcview
Installed Libraries: None
Installed Directories: /etc/mc and /usr/{libexec,share}/mc

Short Descriptions


is used internally by mc for saving and restoring the text behind the panels on Linux text console.


is a visual shell.


is an internal visual diff tool.


is an internal file editor.


is an internal file viewer.

最終更新日: 2018-08-26 06:33:31 +0900