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.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): http://ftp.midnight-commander.org/mc-4.8.28.tar.xz
Download (FTP): ftp://ftp.osuosl.org/pub/midnightcommander/mc-4.8.28.tar.xz
Download MD5 sum: 850063700c3025cfd2ae5e16a4a9b9e5
Download size: 2.2 MB
Estimated disk space required: 67 MB (add 86 MB for tests)
Estimated build time: 0.3 SBU (using parallelism=4; add 0.2 SBU for tests)
GLib-2.72.3 and PCRE-8.45
Doxygen-1.9.4, GPM-1.20.7, libssh2-1.10.0, Ruby-3.1.2, Samba-4.16.4, UnZip-6.0, a graphical environment, and Zip-3.0
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/MC
Install MC by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-charset && make
To test the results, issue: make check.
Now, as the root
user:
make install
--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.