From The FEniCS project
Contents |
Get FEniCS!
Pre-built packages for Debian and Ubuntu, source tarballs and access to the development repositories are available for FEniCS components. See the table of contents for the different formats.
Debian/Ubuntu packages
FEniCS package are distributed as part of Debian and Ubuntu. Make sure that the Universe and Multiverse repositories are enabled, then it's as simple as
sudo apt-get update sudo apt-get install fenics
The FEniCS Personal Package Archive (PPA) — hosted by Launchpad — contains packages for a number of Ubuntu releases. 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.
Automated download and compilation on GNU/Linux distributions, Mac OS X etc.
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
- Download FErari
- Download FFC
- Download FIAT
- Download Instant
- Download Puffin
- Download SyFi
- Download UFC
- Download UFL
- Download Viper
For 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.
Third-party packages
Direct access to the software repositories (development versions)
For details on accessing the development repositories, see the Development page.

