Ubuntu/Debian installation

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:37, 14 March 2010
Popinet (Talk | contribs)
(Added info on using Ubuntu 9.10 build service packages)
← Previous diff
Revision as of 22:17, 15 March 2010
Popinet (Talk | contribs)
(Updated for new build service packages)
Next diff →
Line 1: Line 1:
-Ubuntu/Debian packages are built automatically every day (whenever a new [[snapshot release]] is available). An [https://launchpad.net/~popinet/+archive/ppa Ubuntu/Debian repository] is available as a Launchpad Personal Package Archive (PPA). The first time you install Gerris you need to:+[http://packages.debian.org/search?keywords=gts&searchon=names&suite=all&section=all GTS] and [http://packages.debian.org/search?keywords=gerris&searchon=names&suite=all&section=all Gerris] Debian packages are part of official Debian distributions (as well as their derivatives such as Ubuntu distributions in the 'universe' repository). Note that GfsView is not packaged by Debian yet. These 'official' packages are usually based on slightly older (~6 months) releases of Gerris.
-<ol><li>Append to <code>/etc/apt/sources.list</code>+For fresher releases, Debian packages are built automatically every day (whenever a new [[snapshot release]] is available) using the nice [http://build.opensuse.org OpenSUSE build service] system. The first time you install Gerris you need to:
-<pre>+ 
-deb http://ppa.launchpad.net/popinet/ppa/ubuntu hardy main+<ol>
-deb-src http://ppa.launchpad.net/popinet/ppa/ubuntu hardy main+
-</pre></li>+
<li>Get the key: <li>Get the key:
<pre> <pre>
-% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com \+% wget http://gfs.sf.net/debian/popinet_key.asc
- 3f0894c35cea6c4c0179392da015287d24698aa9+% sudo apt-key add popinet_key.asc
</pre> </pre>
 +</li>
 +<li>Append to <code>/etc/apt/sources.list</code>
 +<pre>
 +deb http://download.opensuse.org/repositories/home:/popinet/DISTRO ./
 +</pre>
 +where <code>DISTRO</code> is one of:
 +<dl>
 +<dt><code>Debian_5.0</code></dt><dd>Debian 5.0 ('lenny')</dd>
 +<dt><code>xUbuntu_9.10</code></dt><dd>Ubuntu 9.10 ('karmic koala') and derivatives (Xubuntu, Kubuntu etc...)</dd>
 +<dt><code>xUbuntu_9.04</code></dt><dd>Ubuntu 9.04 ('jaunty jackalope')</dd>
 +<dt><code>xUbuntu_8.04</code></dt><dd>Ubuntu 8.04 LTS ('hardy heron')</dd>
 +</dl>
 +</li>
 +<li>
 +For Ubuntu distributions you will also need to enable the 'universe' repository of Ubuntu. Either uncomment the corresponding line in <code>/etc/apt/sources.list</code> or use the graphical interface (e.g. "System -> Administration -> Synaptic Package Manager" and/or "System -> Administration -> Software Sources").
</li> </li>
<li>Update APT and install the packages: <li>Update APT and install the packages:
Line 25: Line 38:
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).
- 
-Note also that while the packages are nominally built for Ubuntu Hardy (8.04), they should install and run fine on both Intrepid (8.10) and Jaunty (9.04). 
- 
-== Packages for Ubuntu 9.10 == 
- 
-The installation procedure above will not work for Ubuntu 9.10 due to a change in dependencies. Packages for Ubuntu 9.10 are built using openSUSE's [http://build.opensuse.org build service] (eventually all Debian packages will be released through build service). To use the build service repository for Ubuntu 9.10 you need to: 
- 
-<ol><li>Append to <code>/etc/apt/sources.list</code> 
-<pre> 
-deb http://download.opensuse.org/repositories/home:/popinet/xUbuntu_9.10 ./ 
-</pre></li> 
-<li>Get the key: 
-<pre> 
-% wget http://gfs.sf.net/debian/popinet_key.asc 
-% sudo apt-key add popinet_key.asc 
-</pre> 
-</li> 
-<li>Update APT and install the packages: 
-<pre> 
-% sudo apt-get update 
-% sudo apt-get install {gerris,gfsview}-snapshot 
-</pre></li></ol> 
- 
-Note that you will also need to enable the 'universe' repository of Ubuntu. Either uncomment the corresponding line in <code>/etc/apt/sources.list</code> or use the graphical interface (e.g. "System -> Administration -> Synaptic Package Manager" and/or "System -> Administration -> Software Sources"). 

Revision as of 22:17, 15 March 2010

GTS and Gerris Debian packages are part of official Debian distributions (as well as their derivatives such as Ubuntu distributions in the 'universe' repository). Note that GfsView is not packaged by Debian yet. These 'official' packages are usually based on slightly older (~6 months) releases of Gerris.

For fresher releases, Debian packages are built automatically every day (whenever a new snapshot release is available) using the nice OpenSUSE build service system. The first time you install Gerris you need to:

  1. Get the key:
    % wget http://gfs.sf.net/debian/popinet_key.asc
    % sudo apt-key add popinet_key.asc
    
  2. Append to /etc/apt/sources.list
    deb http://download.opensuse.org/repositories/home:/popinet/DISTRO ./
    

    where DISTRO is one of:

    Debian_5.0
    Debian 5.0 ('lenny')
    xUbuntu_9.10
    Ubuntu 9.10 ('karmic koala') and derivatives (Xubuntu, Kubuntu etc...)
    xUbuntu_9.04
    Ubuntu 9.04 ('jaunty jackalope')
    xUbuntu_8.04
    Ubuntu 8.04 LTS ('hardy heron')

  3. For Ubuntu distributions you will also need to enable the 'universe' repository of Ubuntu. Either uncomment the corresponding line in /etc/apt/sources.list or use the graphical interface (e.g. "System -> Administration -> Synaptic Package Manager" and/or "System -> Administration -> Software Sources").
  4. Update APT and install the packages:
    % sudo apt-get update
    % sudo apt-get install {gerris,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).

Personal tools
communication