********************************************* * NMRFAM-SPARKY 1.2 powered by Sparky 3.115 * ********************************************* * HOW TO MAKE NMRFAM-SPARKY WORK ************ ********************************************* Untar your package and run install.py with root account. $ tar xvfz nmrfam-sparky-linux.tar.gz $ cd nmrfam-sparky-linux $ sudo python ./install.py /usr/local/src If your python is not compatible with installation script, you can use python included in the NMRFAM-SPARKY. $ sudo python2.7/bin/python2.7 ./install.py /usr/local/src If your linux distribution is Ubuntu or CentOS, it may work. If it fails, you need to follow below instructions. ********************************************************* *1. Installation of PNG12 library for new Ubuntu distros* ********************************************************* Ubuntu 18.04 or newer 64bits: $ sudo wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb && sudo dpkg -i /tmp/libpng12.deb 32bits: $ sudo wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_i386.deb && sudo dpkg -i /tmp/libpng12.deb ********************************************* *2. Installation of common shared libraries.* ********************************************* Ubuntu, Linux Mint or Debian relatives: $ sudo apt-get install libgdk-pixbuf2.0-0:i386 libgtk2.0-0:i386 tcsh Redhat, CentOS, Fedora or their relatives: $ yum install glib.i386 gtk2.i386 libSM.i386 $ yum install glib.i686 gtk2.i686 libSM.i686 ********************************************* *3. Installation of 32-bit compat libraries.* ********************************************* Ubuntu 14.04 or newer: $ bash $ sudo apt-get install lib32ncurses5 lib32stdc++6 lib32z1 lib32gcc1 libxrender1:i386 libx11-6:i386 libxft2:i386 gtk2-engines:i386 gtk2-engines-*:i386 libcanberra-gtk-module:i386 libgtkmm-2.4*:i386 libatk-adaptor:i386 libgail-common:i386 $ sudo cp /usr/lib32/libz.so.1 /lib/libz.so $ exit Ubuntu 13.10 or older: $ sudo apt-get install ia32-libs Redhat, CentOS, Fedora or their relatives: $ yum install openmotif.i386 libstdc++.i386 gtk2-engines.i386 gtk-murrine-engine.i386 gtk-equinox-engine.i386 or $ yum install openmotif.i686 libstdc++.i686 gtk2-engines.i686 $ cp /usr/lib/libz.so.1 /lib/libz.so or $ cp /lib/libz.so.1 /lib/libz.so If you see any error related to importing shared libraries, try to install yum install .i386 or sudo apt-get install :i686. If an error still persists, please mail to Dr. Woonghee Lee ******************************************** *4. Setting up environmental PATH.********** ******************************************** You can either edit /etc/csh.cshrc or /home//.cshrc Include the following line in the file: setenv PATH ${PATH}:/bin ******************************************** *5. If double-click does not work. ********* ******************************************** You Nautilus may be set to open sparky file with text editor. In the Nautilus, Edit -> Preferences -> Behavior -> Run executable text files when they are opened. NMRFAM Software Development Team April 21, 2018