wiki:InstallUbuntuSvn

Version 4 (modified by steve, 6 years ago) (diff)

--

Installing ANUGA on Ubuntu using the bleeding edge version

Packages to install

Install the following packages via the commands

sudo apt-get install subversion
sudo apt-get install python-scientific
sudo apt-get install python-dev
sudo apt-get install python-matplotlib
sudo apt-get install python-profiler

Checkout anuga via svn

From your home directory run:

svn checkout https://anuga.anu.edu.au/svn/trunk/anuga_core anuga_core

Should produce an anuga_core directory in your home directory

Put the following in your .bashrc file

export PYTHONPATH=/home/steve/anuga_core/source

(of course change /home/steve to your home directory. )

Should rerun your .bashrc file with

source .bashrc

Need to install some libraries

Now go to the directory anuga_core

compile the anuga files via:

python compile_all.py

Run the unit tests via:

python test_all.py

Hopefully everything works (except for the expected 1 failure regarding ghost triangles)