Ubuntu/Debian installation

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 04:32, 14 August 2007
Popinet (Talk | contribs)
(Debian installation moved to Ubuntu/Debian installation)
← Previous diff
Revision as of 22:20, 25 June 2008
Traumflug (Talk | contribs)
(Fix sudo usage (ordinary user has no write access to sources.list))
Next diff →
Line 4: Line 4:
<li>Add the [http://gts.sf.net GTS] and Gerris debian repositories to your software sources <li>Add the [http://gts.sf.net GTS] and Gerris debian repositories to your software sources
<pre> <pre>
-% sudo echo "deb http://gts.sourceforge.net/debian/ ./" >> /etc/apt/sources.list+% sudo -s
-% sudo echo "deb http://gfs.sourceforge.net/debian/ ./" >> /etc/apt/sources.list+% echo "deb http://gts.sourceforge.net/debian/ ./" >> /etc/apt/sources.list
 +% echo "deb http://gfs.sourceforge.net/debian/ ./" >> /etc/apt/sources.list
 +% exit
</pre> </pre>
</li> </li>

Revision as of 22:20, 25 June 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:

  1. 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
    
  2. Update the contents of the package database
    % sudo apt-get update
    
  3. 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).

Personal tools
communication