FLUKA installation
Prerequisites
The required software and packages in order to use FLUKA in combination with flair (FLUKA Advanced Interface) and flair-geoviewer:
Gfortran/gcc Gnuplot Python interpreter version V2.6 or greater Tcl/Tk version V8.5 or greater Tkinter toolkit
python-imaging python-imaging-tk tk-dev python-dev pydicom (only needed for use with dicom/ct-scans)
Installation of FLUKA
In order to be able to download FLUKA from the FLUKA website it is mandatory to be registered as FLUKA user. Follow the registration process at FLUKA User Registration and Download (Public email providers are blocked, so use your UiB email or other institutional email-address) Then download your FLUKA package of choice from FLUKA Download, most likely you will want the latest flukaXXXX.XX-linux-gfor64bitAA.tar.gz package.
Once downloaded, start by setting some environmental variables at the end of your .bashrc file: (Type gedit .bashrc in your terminal to open and edit this file)
export FLUPRO=/pathto/FLUKA #Path to the FLUKA folder where you install export FLUFOR=gfortran #We use the gfortran version of FLUKA
Install flukaxxxx-xx-linux-gfor64bitAA.tar.gz by creating the FLUKA folder and unpacking the package contents to it:
$ mkdir Fluka #create Fluka directory at your location of choice $ mv Downloads/fluka.... Fluka/ #move downloaded tar.gz file to your newly created FLUKA folder $ cd /pathto/FLUKA #enter the FLUKA folder $ tar –xzvf fluka..... # Unpack installation file $ make #(this creates the default executable flukahp and compiles auxiliary programs in the directory flutil)