Wednesday, May 12, 2010

Midnight commander on Ubuntu server 8.04 LTE

Midnight Commander is not present after the initial install of Ubuntu server 8.04 LTE. Also installing with sudo apt-get install mc does not work.

To install MC you will need to install a key and add a repository.

To install the key type in terminal:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F82FBD49

To add the extra repository edit /etc/apt/sources.list and add the following two lines:
deb http://ppa.launchpad.net/zyv/ppa/ubuntu YOUR_DISTRO main
deb-src http://ppa.launchpad.net/zyv/ppa/ubuntu YOUR_DISTRO main

(As editor nano could be used.)

Now update with:
sudo apt-get update

Midnight Commander can now be installed with:
sudo apt-get install mc