#!/bin/bash # Ubuntu specific pre-script # 03-27-2010 ES for x86 and x86-64 export PATH=.:$PATH echo 'check the second box "... (universe)",' echo 'then "close", "close" again' echo 'and later "Y" when asked to continue' gksu gksu --desktop /usr/share/applications/software-properties.desktop /usr/bin/software-properties-gtk sudo apt-get update sudo apt-get install tcsh gfortran libblas-dev libatlas-base-dev test -e ./gmolden4.7.linux || wget chemsoft.ch/downloads/gmolden4.7.linux test -e ./gamessmake || wget chemsoft.ch/downloads/gamessmake test -e ./libg2c.so.0 || wget chemsoft.ch/downloads/libg2c.so.0 chmod +x gmolden4.7.linux gamessmake export LD_LIBRARY_PATH=/home/$USER:$LD_LIBRARY_PATH sudo cp libg2c.so.0 /usr/lib gamessmake exit