Ubuntu/Debian installation

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:45, 18 June 2009
Popinet (Talk | contribs)
(From Launchpad - minor style changes)
← Previous diff
Revision as of 08:48, 18 June 2009
Popinet (Talk | contribs)
(From SourceForge - updated for shitty compression problem)
Next diff →
Line 12: Line 12:
</pre> </pre>
</li> </li>
-<li>Add the public signing key for these repositories to your list of trusted keys</li>+<li>Add the public signing key for these repositories to your list of trusted keys:</li>
- % wget -O popinet_key.asc.gz http://gfs.sf.net/debian/popinet_key.asc+Follow [http://gfs.sf.net/debian/popinet_key.asc this link] and cut and paste the text into a file called <code>popinet_key.asc</code>, then do:
- % gunzip popinet_key.asc.gz+
% sudo apt-key add popinet_key.asc % sudo apt-key add popinet_key.asc
<li>Update the contents of the package database <li>Update the contents of the package database

Revision as of 08:48, 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:

  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. Add the public signing key for these repositories to your list of trusted keys:
  3. Follow this link and cut and paste the text into a file called popinet_key.asc, then do:

    % sudo apt-key add popinet_key.asc
    
  4. Update the contents of the package database
    % sudo apt-get update
    
  5. 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. "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 are also published at Launchpad. To access these:

  1. 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
    
  2. Get the key:
    % sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3f0894c35cea6c4c0179392da015287d24698aa9
    
  3. Update APT and install the packages:
    % sudo apt-get update
    % sudo apt-get install {gerris,gfsview}-snapshot
    
Personal tools
communication