For future reference, is there a better way to do this?
Code: Select all
#Basics to compile neuron with python
sudo apt-get install build-essential
sudo apt-get install libxext-dev
sudo apt-get install libncurses-dev
sudo apt-get install python-dev
sudo apt-get install xfonts-100dpi
#If this produces a funny looking EULA with <OK> at the bottom
#Hit the tab key and then the enter key to proceed
#Here is my config command
#./configure --prefix=`pwd` --with-iv=$HOME/neuron/iv-17 --with-nrnpython --with-numpy
#Mercurial and tools to build from repository
sudo apt-get install mercurial
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install automake
sudo apt-get install libtool
#Lapack and fortran for building Numpy/Scipy
#Building the current versions is easy enough that I don't bother with the older packages
sudo apt-get install liblapack-dev
sudo apt-get install gfortran
#Python setup
sudo apt-get install python-setuptools
sudo apt-get install python-matplotlib # this also installs an older version of numpy
sudo easy_install -U ipython
#Spyder IDE setup
sudo apt-get install libqt4-dev
sudo apt-get install pyqt4-dev-tools
sudo apt-get install tortoisehg
sudo easy_install -U Sphinx
sudo easy_install -U rope
sudo easy_install -U pyflakes
sudo easy_install -U pep8
sudo easy_install -U spyder