Ubuntu/Debian installation
From Gerris
| Revision as of 23:04, 4 October 2008 Popinet (Talk | contribs) (Note on using debian packages on Ubuntu 8.10) ← Previous diff |
Revision as of 01:53, 5 October 2008 Popinet (Talk | contribs) (→Note for installation on Ubuntu 8.04) Next diff → |
||
| Line 32: | Line 32: | ||
| === Note for installation on Ubuntu 8.04 === | === Note for installation on Ubuntu 8.04 === | ||
| - | The debian packages for gerris-snapshot are built on an Ubuntu 7.10 system. To install them on an Ubuntu 8.04 system (Hardy Heron), the instructions above will work but you first need to download and install the following packages manually (double-clicking on the files should get you started): | + | The debian packages for gerris-snapshot are built on an Ubuntu 7.10 system. To install them on an Ubuntu 8.04 system (Hardy Heron), the instructions above will work but you first need to download and install the following packages manually: |
| http://packages.ubuntu.com/gutsy/libnetcdf3<br> | http://packages.ubuntu.com/gutsy/libnetcdf3<br> | ||
Revision as of 01:53, 5 October 2008
Ubuntu/Debian packages are built automatically every day (whenever a new snapshot release is available). A Debian repository is available on the Gerris web site. The first time you install Gerris you need to:
- Add the GTS and Gerris debian repositories to your software sources
% sudo -s % echo "deb http://gts.sourceforge.net/debian/ ./" >> /etc/apt/sources.list % echo "deb http://gfs.sourceforge.net/debian/ ./" >> /etc/apt/sources.list % exit
- Update the contents of the package database
% sudo apt-get update
- Install the Gerris and GfsView snapshots (and their dependencies)
% sudo apt-get install gerris-snapshot gfsview-snapshot
Note that these steps can also be done using the graphical tools (e.g. "synaptic package manager" and/or "software properties") in your Ubuntu/Debian desktop.
Your Gerris installation will subsequently be upgraded to the most recent version whenever you run
% sudo apt-get dist-upgrade
i.e. whenever your system updates are performed (again this will be done automatically when using the "Update manager" in Ubuntu/Debian).
Note for installation on Ubuntu 8.04
The debian packages for gerris-snapshot are built on an Ubuntu 7.10 system. To install them on an Ubuntu 8.04 system (Hardy Heron), the instructions above will work but you first need to download and install the following packages manually:
http://packages.ubuntu.com/gutsy/libnetcdf3
http://packages.ubuntu.com/gutsy/libgsl0
You can also alternatively install from source.

