The easiest way to install FEniCS is to use our prebuilt, high-performance Docker images. FEniCS can also be installed via package managers or compiled directly from source. Follow the instructions on this page to get started with FEniCS.
The latest stable release of FEniCS is version 1.6.0, which was released on 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.
Docker allows us to build and ship consistent high-performance FEniCS installations for almost any platform. To get started, follow these 2 steps:
Install the FEniCS Docker script:
curl -s http://get.fenicsproject.org | sh
If running on Mac or Windows, make sure you run this and other commands inside the Docker Quickstart Terminal.
Once both Docker and the FEniCS Docker script have been installed, you can easily start a FEniCS session by running the following command:
The FEniCS Docker script can also be used to create persistent
fenicsproject create myproject followed by
fenicsproject run myproject) or to run different versions of
fenicsproject run dev). To see more options, run the
For more details and tips on how to work with FEniCS and Docker, see our FEniCS Docker page.
To install FEniCS on Ubuntu, run the following commands:
sudo add-apt-repository ppa:fenics-packages/fenics sudo apt-get update sudo apt-get install fenics sudo apt-get dist-upgrade
This will add our PPA for FEniCS to your package sources and install the latest stable version of FEniCS. Note that FEniCS is also available from the official Ubuntu (and Debian) repositories but may outdated, depending on which release of Ubuntu you are running.
For more details and tips on how to work with FEniCS in Ubuntu, see our FEniCS Ubuntu page.
FEniCS can be built automatically from source via HashDist. To build FEniCS, run the following command:
curl -s http://fenicsproject.org/fenics-install.sh | bash
Running this command will build a local installation of FEniCS. Before running the script, you may wish to download and inspect its contents.
For more details and tips on how to work with FEniCS in HashDist, see our FEniCS HashDist page.
FEniCS is also available through a number of alternative package managers. For information on user contributed binary packages, see our FEniCS contributed packages page.