安装好FLUKA以后,需要安装FLAIR

以下来自flukaflair的安装指南,网址为

https://flair.web.cern.ch/flair/download.html

Installation Instructions

Requirements

Requirements

Flair is dependent on the following programs:

  1. Python interpreter version V3.6 or greater. Python usually comes pre-installed in most linux distributions, otherwise it can be downloaded from http://www.python.org
  2. tkinter toolkit, this is the default graphical toolkit for python and usually it is shipped together with the interpreter. In Fedora distributions (Version>3) it has to be installed separately. In this case install it with the command (as superuser):

$ dnf -y install tkinter

  1. Tcl/Tk version V8.5 or greater.

Optionally but strongly recommended

  1. flair-geoviewer a plugin to flair for interactive geometry editing, debugging and 3D visualization
  2. PIL (python imaging library) and the tk interface for image exporting from geoviewer. Typically on various distributions they appear with the name python-imaging and python-imaging-tk
  3. gnuplot version V4.0 or greater
  4. pydicom The python dicom library optionally if you want to convert DICOM files to FLUKA voxel
  5. numpy The python numeric library for dicom processing

Source code compile requirements

For compiling the source code you need the following development packages for your system

  1. C++ compiler preferably gnu g++ or clang++
  2. GNU make
  3. python3-devel
  4. tk-devel and all its dependencies

这里进行更细致的介绍

Requirements

Flair is dependent on the following programs:

  1. Python interpreter version V3.6 or greater. Python usually comes pre-installed in most linux distributions, otherwise it can be downloaded from http://www.python.org

安装python

安装命令为 sudo pacman –S python ,manjaro应该会自带

  1. tkinter toolkit, this is the default graphical toolkit for python and usually it is shipped together with the interpreter. In Fedora distributions (Version>3) it has to be installed separately. In this case install it with the command (as superuser):

$ dnf -y install tkinter

这是自带的,不用装,命令输进去也没用

  1. Tcl/Tk version V8.5 or greater.

sudo pacman –S tk

Optionally but strongly recommended,不强制但十分推荐

  1. flair-geoviewer a plugin to flair for interactive geometry editing, debugging and 3D visualization

这个后面装

  1. PIL (python imaging library) and the tk interface for image exporting from geoviewer. Typically on various distributions they appear with the name python-imaging and python-imaging-tk

sudo pacman –S python-imaging

  1. gnuplot version V4.0 or greater

sudo pacman –S gnuplot

在终端输入 gnuplot,打开后输入plot sin(x)

能够画出曲线说明安装成功

  1. pydicom The python dicom library optionally if you want to convert DICOM files to FLUKA voxel

sudo pacman –S python-pip 应该系统提前装好了

pip install pydicom

  1. numpy The python numeric library for dicom processing

pip install numpy

依赖python的安装包检查是否成功安装,

终端输入python打开界面,输入import xxx若不报错即安装成功

Source code compile requirements

For compiling the source code you need the following development packages for your system

  1. C++ compiler preferably gnu g++ or clang++

自带,不用装

  1. GNU make

sudo pacman –S make 这个其实应该是自带的,没有的话可以这么装

  1. python3-devel
  2. tk-devel and all its dependencies

这两个不用装,我也不知道为啥

新建一个文件夹,解压flair和flair-geoviewer的安装包,先对进入flair解压出来的文件夹

sudo make install

再进入flair-geoviewer解压出来的文件夹,进行

sudo make install

安装完成

注意复制文件一定要复制完整,如果操作太快可能复制粘贴没有完成

FLAIR在manjaro下的安装相关推荐

  1. linux版vmware卡顿,Manjaro下Vmware安装的MacOS10.15遇到的性能问题导致几乎无法启动问题及解决...

    算是记录一下折腾Manjaro过程中遇到的几乎要放弃Manjaro的这么一件事. 一.题外话/背景 一直以来,就在各版本linux下安装vmware跑MacOS,运行也比较流畅. 本次折腾Manjar ...

  2. Arch/Manjaro下安装GUI Guider

    Arch/Manjaro下安装GUI Guider 首先想到的是用pacman或者yay看能不能直接安装 发现yay里面有一个软件,但是安装的时候出现下面的问题 其实仔细阅读一下就会发现解决方法 大体 ...

  3. Manjaro下的实用命令搜集

    Pacman 使用 同步仓库 只下载已改列表: sudo pacman -Sy 有时你可能想要强制下载软件包列表. 为此,请输入: sudo pacman -Syy 更新软件 更新已安装软件 sudo ...

  4. Manjaro软件配置与安装

    文章目录 软件安装 安装NVIDIA显卡驱动 常见工具软件软件安装 开发类软件 配置vscode 常见问题 无法安装aur包 参考文章 已经入manjaro的坑,因为xfce4轻量.稳定,于是选择的m ...

  5. manjaro linux必装工具,在Manjaro系统中安装常用软件的方法

    本文介绍在Manjaro系统中安装一些常用的软件,有vim.chrome.截图.TIM.网易云音乐.搜狗输入法.markdown编辑器.pdf阅读器.steam.git客户端.下载工具uget.视频播 ...

  6. mysql64如何配置_win7 64位下如何安装配置mysql-winx64(安装记录)

    win7 64位下如何安装配置mysql winx64 1.mysql下载 官方网站下载地址:http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5. ...

  7. mysql在linux下的安装

    mysql在linux下的安装 安装环境:系统是 centos6.5 1.下载 下载地址:http://dev.mysql.com/downloads/mysql/5.6.html#downloads ...

  8. linux mysql 5.6.22_LinuxCentOS6.0下编译安装MySQL5.6.22

    Linux CentOS6.5下编译安装MySQL 5.6.22[给力详细教程] 一.编译安装MySQL前的准备工作 安装编译源码所需的工具和库(安装过程注意有没出错) yum install gcc ...

  9. 71 mac boook pro 无 gpu 下caffe 安装

    71 mac boook pro 无 gpu 下caffe 安装 1.首先安装homebrew工具,相当于Mac下的yum或apt ruby -e "$(curl -fsSL https:/ ...

最新文章

  1. c语言如何将浮点数转换为字节,浅谈C语言整型与浮点型转换
  2. Apache服务器 配置多个网站解决方案
  3. (原创)用讯飞语音实现人机交互的功能
  4. 计算机photoshop知识点,计算机一级Photoshop知识点
  5. 设计模式--备忘录(Memento)模式
  6. spring 事务管理之只读事务@Transactional(readOnly = true)
  7. python类方法和实例方法syntax errors_《Fluent Python》CH.11_面向对象_接口:从协议到抽象基类...
  8. 什么是集群负载均衡与高可用(有图详解)
  9. Android Camera模块(二)
  10. C语言怎么提出大写字母,c语言函数toupper()如何将小写字母转换为大写字母
  11. HyperLynx 仿真
  12. 【Python 日志】
  13. 在ubuntu18.04 上使用键盘鼠标共享软件 Synergy
  14. 如何在VC中调用第三方lib库(step by step)
  15. 【代码实现】数学游戏:最后一个说30就输的数学游戏
  16. 51单片机硬件设计-最小系统(一)
  17. python 峰_python-如何在具有多个峰的数据集中查找FWH...
  18. android opengl es 圆锥纹理贴图
  19. 数据解析中 / %的应用
  20. HDMI系列之一:基于Nios II的HDMI显示图片

热门文章

  1. 【调剂】杭州电子科技大学圣光机计算科学与智能控制研究中心2022年考研预调剂信息公告...
  2. 代码对比工具,我就用这7个!
  3. 交易猫闲鱼客服搭建 后续客服
  4. 关于css权重那些事情
  5. CMD命令进入指定目录
  6. mysql 查询当天、本周、本月、上一个月、季度等数据
  7. mysql check 字段 0_怎么用PHP显示出mysql中 pwn_dingcan_order这个表中 ifcheck 这个字段为0 的这条数据呢。...
  8. C# 获取本地IP信息
  9. Learning to Rank with Nonsmooth Cost Functions
  10. 3个步骤教你如何用Python实现网页转PDF