#!/bin/sh # 'ubuntucpmd' from Ernst Schumacher # Version 2010-27-03 # 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 ./cpmdmake || wget chemsoft.ch/downloads/cpmdmake #test -e ./cpmd3.13_2.tar.gz || wget chemsoft.ch/downloads/cpmd3.13_2.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 cpmdmake cpmdmake exit