1.2 Installation

M-Command supports the following operating system.

Installation packages are available for the above operating systems, users would be able to install MCMD on systems with slight variation of the OS versions listed above. The software can be compiled and installed from the source code for installation in other OS.

1.2.1 Mac OS X

Download the latest gem package from http://sourceforge.jp/projects/nysol/releases/ and install according to the following command. Note that in version number "1.0" in the file name "mcmd-1.0.gem" will be updated according to the latest version number.

$ wget http://sourceforge.net/xxxx
$ gem install mcmd-1.0_darwin.gem

1.2.2 Ubuntu Linux

Download the latest gem package from http://sourceforge.jp/projects/nysol/releases/ and install according to the following command. The file name follows the format illustrated below ("1.1-0" will be updated with the latest version).

$ wget http://sourceforge.net/xxxx
$ gem install mcmd-1.0_darwin.gem

1.2.3 Install from Source

Follow the procedures below to compile and install the library from source code.

Install C++ boost library

Download and install1 boost library from the C++ boost library website (http://www.boost.org/). For installation in Mac and Linux 32 OS, please follow the instructions as follows. It will take about 30 minutes to install boost library.

$ wget http://sourceforge.net/projects/boost/files/boost/1.52.0/boost_1_52_0.tar.gz/download
$ tar zxvf boost_1_52_0.tar.gz
$ cd boost_1_52_0
$ ./bootstrap.sh
$ ./bjam
$ sudo ./bjam install

Follow the step below for installation instructions on Linux 64bit OS environment.

$ wget http://sourceforge.net/projects/boost/files/boost/1.52.0/boost_1_52_0.tar.gz/download
$ tar zxvf boost_1_52_0.tar.gz
$ cd boost_1_52_0
$ ./bootstrap.sh
$ ./bjam cflags=-fPIC
$ sudo ./bjam install cflags=-fPIC

Install mcmd

Download and install the latest version of MCMD source code from the MCMD git server. Afterwards, confirm the installation by typing "mcut --help" at the command prompt, if the help message of mcut command is shown, installation is completed.

$ git clone http://scm.sourceforge.jp/gitroot/nysol/mcmd.git
$ cd mcmd
$ ./configure
$ make
$ sudo make install

Footnotes

  1. This library is compatible with boost_1.52.0, however, this library cannot be compiled with version 1.54.0.