From MdsWiki
The following steps should work on a clean Ubuntu 9.10 install and may provide an example on what is needed for other platforms.
Step | Action | Command |
---|---|---|
1 | Install build utilities |
sudo apt-get install cvs xutils-dev |
2 | Install compilers and includes |
sudo apt-get install gfortran openjdk-6-jdk fort77 rpm alien libreadline5-dev |
3 | Install X development libraries |
sudo apt-get install x11proto-print-dev |
4 | Install xinetd |
apt-get install xinetd |
5 | Install openmotif |
wget ftp://ftp.ics.com/openmotif/2.3/2.3.1/openmotif\*2.3.1\*fc9\*i386\*rpm sudo alien -d openmotif-devel-2.3.1-1.fc9.i386.rpm sudo dpkg -i openmotif-devel_2.3.1-2_i386.deb sudo alien -d openmotif-2.3.1-1.fc9.i386.rpm sudo dpkg -i openmotif-2.3.1-2_i386.deb |
6 | Get MDSplus sources |
Recommended: firefox http://www.mdsplus.org/index.php?url=mdsplus/download.php&page=Software/Downloads Alternate (one of) wget https://github.com/MDSplus/mdsplus/archive/alpha.zip wget https://github.com/MDSplus/mdsplus/archive/alpha.tar.gz wget https://github.com/MDSplus/mdsplus/archive/stable.zip wget https://github.com/MDSplus/mdsplus/archive/stable.tar.gz git clone https://github.com/MDSplus/mdsplus.git |
7 | Build MDSplus. |
Make sure that the LANG environment variable is set to a non-UTF8 locale (e.g. en_US or the generation of UID files will fail and some applications mysteriously segfault. cd mdsplus ./configure --prefix=/usr/local/mdsplus --with-jdk=/usr/lib/jvm/java-6-openjdk make |
8 | Install MDSplus |
make install /usr/local/mdsplus/rpm/post_install_script |
Install Packages for using Python with MDSplus | ||
Install required packages |
sudo apt-get install python-setuptools python-numpy | |
Install MDSplus package |
cd mdsobjects/python sudo python setup.py install | |
Optional Packages for development and rpm construction | ||
Install emacs |
sudo apt-get install emacs |