Ubuntu/Debian installation
From Gerris
| Revision as of 02:22, 15 May 2009 Popinet (Talk | contribs) (Fix for compression of text files by the sourceforge server) ← Previous diff |
Revision as of 07:24, 18 June 2009 GeordieMcBain (Talk | contribs) (described Launchpad procedure) Next diff → |
||
| Line 1: | Line 1: | ||
| + | === From SourceForge === | ||
| + | |||
| 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: | 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: | ||
| Line 33: | Line 35: | ||
| i.e. whenever your system updates are performed (again this will be done automatically when using the "Update manager" in Ubuntu/Debian). | i.e. whenever your system updates are performed (again this will be done automatically when using the "Update manager" in Ubuntu/Debian). | ||
| + | |||
| + | === From Launchpad === | ||
| + | |||
| + | From May 2009 Gerris development packages for Ubuntu Hardy Heron were published at [https://launchpad.net/~popinet/+archive/ppa Launchpad]. To access these: | ||
| + | <ol><li>Append to /etc/apt/sources.list | ||
| + | <pre> | ||
| + | deb http://ppa.launchpad.net/popinet/ppa/ubuntu hardy main | ||
| + | deb-src http://ppa.launchpad.net/popinet/ppa/ubuntu hardy main | ||
| + | </pre></li> | ||
| + | <li>Get the key: | ||
| + | <pre> | ||
| + | $ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3f0894c35cea6c4c0179392da015287d24698aa9 | ||
| + | </pre> | ||
| + | </li> | ||
| + | <li>Update APT and install the packages: | ||
| + | <pre> | ||
| + | $ sudo aptitude update | ||
| + | $ sudo aptitude install {gerris,gfsview}-snapshot | ||
| + | </pre></li></ol> | ||
Revision as of 07:24, 18 June 2009
From SourceForge
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
- Add the public signing key for these repositories to your list of trusted keys
- 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
% wget -O popinet_key.asc.gz http://gfs.sf.net/debian/popinet_key.asc % gunzip popinet_key.asc.gz % sudo apt-key add popinet_key.asc
Note that these steps can also be done using the graphical tools (e.g. "System -> Administration -> Synaptic Package Manager" and/or "System -> Administration -> Software Sources") 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).
From Launchpad
From May 2009 Gerris development packages for Ubuntu Hardy Heron were published at Launchpad. To access these:
- Append to /etc/apt/sources.list
deb http://ppa.launchpad.net/popinet/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/popinet/ppa/ubuntu hardy main
- Get the key:
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3f0894c35cea6c4c0179392da015287d24698aa9
- Update APT and install the packages:
$ sudo aptitude update $ sudo aptitude install {gerris,gfsview}-snapshot

