FEniCS can be installed from binary files or compiled from source code. Different installation methods are described on this page. Visit the troubleshooting page if you have problems installing FEniCS.
The latest stable release of FEniCS is version 1.6.0, which was on released 2015-07-28. For more information about FEniCS releases and changes, take a look at Release notes for FEniCS. For information on accessing the development repositories, see Contributing.
This is the main FEniCS download, suitable for most users. It includes everything needed to get you started with FEniCS.
For information on user contributed binary packages, see Contributed packages.
Whether you are already using the Anaconda Python distribution from Continuum Analytics or just their conda package manager in Linux you can already install FEniCS precompiled binaries. They are not part of the official Anaconda installation but they can be downloaded from a binstar channel:
conda create --name fenics27 python=2.7 source activate fenics27 conda install fenics --channel juanlu001
For troubleshooting and alternative options for older systems, see Binary installation using conda.
These packages are provided by Juan Luis Cano and their sources can be found at https://github.com/juanlu001/fenics-recipes.
A virtual machine image that includes the most recent FEniCS release is available at http://fenicsproject.org/pub/virtual/fenics-latest.ova. The image can be run using a virtual machine manager, such as VirtualBox. The username and password for the virtual machine are both fenics.
The virtual machine image is recommended for systems for which a binary installer is not available. The image is particularly suitable when a consistent FEniCS environment across systems is required, such as courses using FEniCS.
The image requires a 64-bit host operating system.
You may also choose to install FEniCS directly from source. This may be done by running the following command:
curl -s http://fenicsproject.org/fenics-install.sh | bash
Running this command will build a local installation of FEniCS, including essential dependencies such as PETSc. The installation relies on HashDist. Before running the script, you may wish to download and inspect its contents.
Requirements for Linux (Ubuntu package name in parentheses):
Requirements for OS X:
See Installation from source using HashDist if you need to tweak the build.