Installing Midnight Commander
Midnight Commander is a File Manager for Unix based systems, for further informations about it, please click here
Contents |
Installing Midnight Commander
The easiest way to install mc is by using ipkg. If you have not already installed ipkg see Overview on modifying the Synology Server for details on how to do so.
Once you have installed ipkg on your NAS you can install mc using the CLI command "ipkg install mc". As ipkg installs mc it should also automatically install (if not already installed) the three other programs mc requires (glib, slang, e2fslibs). These other programs are called dependencies because mc is dependent on them being installed for it to work.
What to do if ipkg does not install mc's dependencies
In rare cases the person that built the "mc installation package for ipkg" may have forgotten to tell ipkg that mc also requires glib, slang, e2fslibs. If so then ipkg will not install these dependencies and you will need to do so manually using the following CLI commands ...
Ipkg install glib Ipkg install slang Ipkg install e2fslibs |
Configuring mc
- After installing mc you need to edit the .profile file located in /root directory type: cd /root
- Now type: vi .profile this will get you the vi editor
- Add the following lines in the .profile (if you are unfamiliar with vi see Linux_vi_Editor)
export TERMINFO=/opt/share/terminfo export TERM=xterm alias mc="mc -c"
- This will allow you to use the F keys in Midnight Commander and turn on color mode.