From The FEniCS project

Contents

Get FEniCS!

Both pre-built packages for Debian and Ubuntu and source tarballs are available for FEniCS components. See the table of contents for the different formats.

Ubuntu packages

The FEniCS Personal Package Archive (PPA) — hosted by Launchpad — currently contains packages for the latest Ubuntu releases, including Hardy Heron (8.04 LTS), Intrepid Ibex (8.10), Jaunty Jackalope (9.04), Karmic Koala (9.10), and the upcoming Lucid Lynx (currently alpha). In order to install and use software from this PPA, you must first tell Ubuntu where to find it and how to verify the authenticity of its software. This is explained next. However, before you continue you should make sure you have enabled the Universe and Multiverse repositories.

First, add the PPA to Ubuntu. Open up a terminal and enter the following command

echo "deb http://ppa.launchpad.net/fenics/ppa/ubuntu `lsb_release -sc` main" | sudo tee /etc/apt/sources.list.d/fenics.list

Then, add the OpenPGP key for the PPA which is needed to authenticate the packages

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E62710F3

Finally, reload the software sources information

sudo apt-get update

You should now be able to install all FEniCS packages simply by running

sudo apt-get install fenics

Please note that the PPA will be deactivated if you later upgrade to a newer Ubuntu release, so you should run these commands again after the release upgrade.

The DOLFIN documentation and demo programs are located under /usr/share/doc/dolfin-doc. To run the demo programs, you should first copy this folder to a location where you have write permissions, e.g., under your users home folder:

cp -r /usr/share/doc/dolfin-doc $HOME/

The demo programs will then be available under $HOME/dolfin-doc/demo.

Compiling from source on other GNU/Linux distributions, Mac OS X etc.

In order to help you build FEniCS projects (and their dependencies) on different platforms, we have a simple build script, Dorsal.

Download the source code

For current snapshots or older versions, browse the software archive. For further instructions, read the files README and INSTALL included with the source code.

Dependencies and requirements

Dependencies and requirements are listed individually on the webpage of each FEniCS project.

Direct access to the software repositories (development versions)

For details on accessing the development repositories, see the Development page.

Personal tools