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
- Download DOLFIN 0.9.6
- Download FErari 0.2.0
- Download FFC 0.9.1
- Download FIAT 0.9.1
- Download Instant 0.9.8
- Download Puffin 0.1.6
- Download SyFi 0.6.1
- Download UFC 1.4.0
- Download UFL 0.5.2
- Download Viper 0.4.5
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.

