#!/bin/sh # 'ubuntucpmd15' from Ernst Schumacher # Version 2012-04-04 for CPMD-3.15.3 # make sure we are in /home/$USER cd /home/$USER 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 make eog gfortran libblas-dev libatlas-base-dev fftw-dev test -e ./cpmdmake15 || wget chemsoft.ch/downloads/cpmdmake15 #test -e ./cpmd-v3_15_3.tar.gz || wget chemsoft.ch/downloads/cpmd-v3_15_3.tar.gz test -e ./cpmd2cube.tar.gz || wget chemsoft.ch/downloads/cpmd2cube.tar.gz test -e ./cpmd-test.tar.gz || wget chemsoft.ch/downloads/cpmd-test.tar.gz chmod +x cpmdmake15 cpmdmake15 exit