Software requirements of FLUKA and Flair

1.1 Software requirements for running FLUKA:

  • Gfortran compiler - version 7 or higher

List of packages:

  • Ubuntu: make gawk g++ gfortran libz-dev
  • Fedora: make gcc-c++ gcc-gfortran

1.2 Software requirements for running Flair:

  • Python interpreter - version 3.6 or higher
  • Tkinter
  • Tcl/Tk - version 8.6 or higher
  • Numpy
  • Scipy
  • Matplotlib
  • PyDicom
  • Gnuplot

List of packages:

  • Ubuntu: tk python3-pil.imagetk python3-numpy python3-scipy python3-matplotlib python3-pydicom gnuplot-x11
  • Fedora: python-pillow-tk python-scipy python-numpy python-matplotlib python-pydicom gnuplot

1.3 Software requirements for compiling from source:

In addition to the requirements for running the following packages required for compiling FLUKA and Flair from source:

  • Ubuntu4: ed tk-dev python3-dev
  • Fedora: ed libX11-devel tk-devel python3-devel
1 Like

For Mac OsX, MacPorts, XQuartz and the Xcode command line tools (xcode-select --install) should be installed before compiling from source.

  • List of packages for Mac OsX using MacPorts: gcc^ python37 py37-tkinter py37-Pillow py37-pydicom py37-pip tcl tk py37-numpy gnuplot ghostscript gdb xterm

    where ^ in gcc is the gcc version. It can be gcc7, gcc8 or gcc9. For Catalina users, it is advised to install gcc9

For more information about the Flair installation in OsX, please visit the Flair download page: https://flair.web.cern.ch/flair/download.html#reqmac

Attention for Mac OsX Catalina users:
Since the default version of Catalina shell is zsh and not bash, please:

  • either adapt the function for enabling the environment for running Flair to a zsh equivalent one
  • or change the zsh shell to bash by typing:
    chsh -s /bin/bash