Software requirements of FLUKA and Flair

1.1 Software requirements for running FLUKA:

  • Gfortran compiler - version 7 or higher

List of packages:

  • Ubuntu 18.04/20.04/22.04: make gawk gfortran libz-dev
  • Fedora 35/36: make gcc-gfortran
  • openSUSE Tumbleweed: make gcc-fortran
  • CentOS 7: centos-release-scl devtoolset-9 (separately)
    enable compilers with: scl enable devtoolset-9 bash

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 18.04/20.04/22.04: tk python3-pil.imagetk python3-numpy python3-scipy python3-matplotlib python3-dicom gnuplot-x11
  • Fedora 35/36: python-pillow-tk python-scipy python-numpy python-matplotlib python-pydicom gnuplot
  • openSUSE Tumbleweed: python3-Pillow-tk python3-scipy python3-matplotlib python3-pydicom gnuplot
  • CentOS 7: rh-python38 rh-python38-python-tkinter rh-python38-python-numpy rh-python38-python-scipy gnuplot
    enable python with: scl enable rh-python38 bash
    install matplotlib, pydicom and Pillow with: pip install --user matplotlib pydicom Pillow

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:

  • Ubuntu 18.04/20.04/22.04: ed g++ tk-dev python3-dev
  • Fedora 35/36: ed gcc-c++ libX11-devel tk-devel python3-devel
  • openSUSE Tumbleweed: ed gcc-c++ tk-devel python38-devel
  • CentOS 7: ed tk-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:

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