How to figure out which version of FEniCS I have?

Hello all,

I am trying to ensure that I’ve downloaded the latest version of FEniCS: 2019.1.0 released April, 19th 2019.

I am using Docker to do this since it doesn’t appear to be ready for anaconda.

I followed the docker installation instructions on the main page(

curl -s | bash

However, nothing during this installation of FEniCS’s docker image seemed to indicate which version was being downloaded. Is there a simple bash command or even a function I could call inside a script that would verify I’m using FEniCS 2019.1.0?

Thanks in advance for any feedback.

Docker and macOS.

Open the terminal and run this:


It returns the version of the FEniCS you have.

Alternatively (In the code):

from dolfin import *
print (dolfin.dolfin_version())
1 Like