{{tag>mc midnight commande guide compile file manager}} {{howhard>2}}
====== Midnight Commander ======

===== Goal =====
Compile mc using the latest source

==== Steps ====
=== Library Prerequisites ===
<sxh>yum groupinstall 'Development Tools' 
yum -y install slang-devel.x86_64 glib2-devel gettext-devel</sxh>

=== Fetch mc ===
<sxh>
git clone https://github.com/MidnightCommander/mc.git
cd mc
</sxh>

=== Configure ===
<sxh>
./autogen.sh
./configure
</sxh>

=== Build ===
<sxh>
make
</sxh>

=== Install ===
<sxh>
make install
</sxh>

=== Set alias ===
Edit your ~/.bashrc and add
<sxh>
alias mc='. /usr/local/libexec/mc/mc-wrapper.sh'
</sxh>
