#!/bin/bash # Ubuntu specific prologue # 05-20-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 ./buildgamntv10 || wget chemsoft.ch/downloads/buildgamntv10 test -e ./libg2c.so.0 || wget chemsoft.ch/downloads/libg2c.so.0 chmod +x gmolden4.7.linux buildgamntv10 export LD_LIBRARY_PATH=/home/$USER:$LD_LIBRARY_PATH sudo cp libg2c.so.0 /usr/lib buildgamntv10 exit