# Installing FLAIR, FLUKA and Running on Linux Workstation

**URL:** <https://fluka-forum.web.cern.ch/t/installing-flair-fluka-and-running-on-linux-workstation/5924>\
**Category:** Installation\
**Created:** [15 April 2024 15:59 UTC](https://fluka-forum.web.cern.ch/t/installing-flair-fluka-and-running-on-linux-workstation/5924 "2024-04-15T15:59:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zavier.ndum.ndum](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/z/3be4f8/32.png) [@zavier.ndum.ndum](https://fluka-forum.web.cern.ch/u/zavier.ndum.ndum)\
**Post date:** [15 April 2024 15:59 UTC](https://fluka-forum.web.cern.ch/t/installing-flair-fluka-and-running-on-linux-workstation/5924/1 "2024-04-15T15:59:11Z")

</div>

Dear FLUKA Experts,

I’m trying unsuccessfully to install and run FLUAK and FLAIR on a Linux Workstation.  
Please see screenshot showing the Debian version.

 ![image](https://fluka-forum.web.cern.ch/uploads/default/original/2X/c/cce86fd798efaa93dc2aa98979e7644c8d51b25c.png)

NB:  
I’m suing putty to connect to the workstation from my windows PC.

1. Using the “tar -xvf ” command, I extracted the “.tgz” file in my home directory since I cannot install the “.deb” version (Based on specifications form my IT Office). Hope this is correct.

2. For FLAIR, the “tar xzvf …” DID NOT work for me? except that I had to drop the “z”. I don’t know why but it seemed to have been successfully isnatlled as shown on screeshot.  

3. When I try to open FLAIR by just typing “flair” on the command line, it says “command not found”. So I’m wondering if I could actually run FLAIR via this method? If not what another alternative?

4. Lastly, why do i get the message that “Error: /home/grads/z/zavier.ndum/fluka4-4.0/bin/fluka does not exist or it is not executable!” when I try to run an input file from the command line?

Please, kindly advise.

Best.

Zavier

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [16 April 2024 06:03 UTC](https://fluka-forum.web.cern.ch/t/installing-flair-fluka-and-running-on-linux-workstation/5924/2 "2024-04-16T06:03:14Z")

</div>

Dear Zavier,

1. Two steps remaining after the extraction:  
a. Run the `make` command in the _src_ directory  
b. Add the _/home/grads/z/zavier.ndum/fluka4-4.0/bin_ directory to your `PATH` variable

2. Don’t worry the `z` option is for decomposing the files, sometimes it is done automatically during the download. The output of the process looks ok.

3. Check if the directory to the Flair executable is in the `PATH` variable.

4. See point 1.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![zavier.ndum.ndum](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/z/3be4f8/32.png) [@zavier.ndum.ndum](https://fluka-forum.web.cern.ch/u/zavier.ndum.ndum)\
**Post date:** [16 April 2024 17:25 UTC](https://fluka-forum.web.cern.ch/t/installing-flair-fluka-and-running-on-linux-workstation/5924/3 "2024-04-16T17:25:55Z")

</div>

Dear David,

Thanks for the swift response.

I followed your instructions and FLUKA and FLAIR seems to be installed correctly.

Also, I succeeded to run FLUKA from the command line.

But with FALIR after I finish the run, I’m unable to plot/visualize the results.  
See photos.

Please advise.

 ![FLAIR_plot](https://fluka-forum.web.cern.ch/uploads/default/original/2X/0/0b98fc6a5b2a828628ced9af0228adee45dfb968.jpeg)  
 ![FLAIR_plot_2](https://fluka-forum.web.cern.ch/uploads/default/original/2X/f/f536f38ce9edbb69ebf07eff78df40533d1966d5.jpeg)

---

<div class="post-metadata">

**Author:** ![zavier.ndum.ndum](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/z/3be4f8/32.png) [@zavier.ndum.ndum](https://fluka-forum.web.cern.ch/u/zavier.ndum.ndum)\
**Post date:** [16 April 2024 17:51 UTC](https://fluka-forum.web.cern.ch/t/installing-flair-fluka-and-running-on-linux-workstation/5924/4 "2024-04-16T17:51:57Z")

</div>

Everything seems fine now. I just had to install “gnuplot” on the terminal.

Thank you so much.

Zavier

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [16 April 2024 19:19 UTC](https://fluka-forum.web.cern.ch/t/installing-flair-fluka-and-running-on-linux-workstation/5924/5 "2024-04-16T19:19:21Z")

</div>

Closed on 16 April 2024 19:19 UTC


