SERVER : Instal MC (Midnight Commander) Linux's Norton Commander
Tuesday, 9. January 2007, 09:48:00
If you're and "old-school" computer user like me, then you've used Norton Commander, or some other clone of it (like Volkov Commander, FAR manager, ...).
So, just like NC, MC is a file manager with 2 panels and best of all, it's completely in text mode, so it will run even on the oldest terminals.
So, first things first, lets install the sucker
From the console execute this :
If everything went well, you should end up with this on the screen :
Now when you execute the command mc you should see this :
If you see something like this
then you have to change the console to translate the output to UTF-8. If you're using Putty then you should click on the console title bar and select Change Settings and in the dialog that appears select Window->Translation and UTF in the combo-box, like in the picture :
and then press Apply. Of course, you'll have to exit MC and start it again as the display won't be refreshed.
Just in case the installation fails, you should make shore that MC is in the list of packages that Apt-Get can install, for that execute
If you don't see this, make shore you've edited the /etc/apt/sources.list and uncommented the sources and also executed apt-get update after that (just like I've told you to do at the server installation).
If you can see the package in the above list, and the error is something about missing packages, then try this :
So, just like NC, MC is a file manager with 2 panels and best of all, it's completely in text mode, so it will run even on the oldest terminals.
So, first things first, lets install the sucker
From the console execute this :
sudo apt-get install mc
If everything went well, you should end up with this on the screen :
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: zip arj The following NEW packages will be installed: mc 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/2106kB of archives. After unpacking 6087kB of additional disk space will be used. Selecting previously deselected package mc. (Reading database ... 16798 files and directories currently installed.) Unpacking mc (from .../mc_1%3a4.6.1-5_i386.deb) ... Setting up mc (4.6.1-5) ...
Now when you execute the command mc you should see this :
then you have to change the console to translate the output to UTF-8. If you're using Putty then you should click on the console title bar and select Change Settings and in the dialog that appears select Window->Translation and UTF in the combo-box, like in the picture :
and then press Apply. Of course, you'll have to exit MC and start it again as the display won't be refreshed.dpkg -l | grep mcyou should see this :
ii mc 4.6.1-5 midnight commander - a powerful file manager ii pcmciautils 014-1ubuntu2 PCMCIA utilities for Linux 2.6
If you don't see this, make shore you've edited the /etc/apt/sources.list and uncommented the sources and also executed apt-get update after that (just like I've told you to do at the server installation).
If you can see the package in the above list, and the error is something about missing packages, then try this :
sudo apt-get -f installthis should force apt-get to install all dependencies that it failed to install before.












