From Evernote: |
Install FLUKA in Ubuntu 10.04 OSClipped from: http://mpgd.lzu.edu.cn/mediawiki/index.php/Install_FLUKA_in_Ubuntu_10.04_OS |
Install FLUKA in Ubuntu 10.04 OS
How to install g77 in Ubuntu linux OS
To install the g77 Fortran compiler in Ubuntu 10.04 (Karmic Koala) just follow these simple steps.
Open /etc/apt/sources.list and add the following Ubuntu 10.04 Hardy repositories:
deb http://hu.archive.ubuntu.com/ubuntu/ hardy universe deb-src http://hu.archive.ubuntu.com/ubuntu/ hardy universe deb http://hu.archive.ubuntu.com/ubuntu/ hardy-updates universe deb-src http://hu.archive.ubuntu.com/ubuntu/ hardy-updates universe
Once you've saved the file open a terminal and run the commands:
sudo aptitude update sudo aptitude install g77
How to install FLUKA in Ubuntu 10.04
In the first you have to install g77 in your system like above steps.
mkdir FLUKA cd FLUKA mkdir FLUKA_install cd FLUKA_install tar -zxvf /home/xiaodong/FLUKA/fluka2008.3d-linuxAA.tar.gz make
Until now,you have done the install step,Now you should setup your .bashrc
sudo vi .bashrc
add this line in your .bashrc and save and exit
export FLUPRO=/home/xiaodong/FLUKA/FLUKA_install
How to install flair of FLUKA interface tool
In the Ubunut OS you should do like the below steps
1, sudo apt-get install python python-tk idle python-pmw python-imaging
Go to the web http://sourceforge.net/projects/tcl/files/Tcl/8.5.9/tcl8.5.9-src.tar.gz/download
2, cp /home/xiaodong/Dowload/tcl8.5.9-src.tar.gz /home/xiaodong/FLUKA cd FLUKA_tool tar -zxvf /home/FLUKA/tcl8.5.9-src.tar.gz cd tcl8.5.9/unix ./configure make sudo make install
Setup your .bashrc
3, sudo vi .bashrc
Add this line in the end of the .bashrc then save and exit
4, alias flair=/home/xiaodong/FLUKA/FLUKA_tool/flair-0.9/flair
- This page was last modified on 7 June 2011, at 02:21.
- This page has been accessed 68 times.
- Content is available under Copyright © Schoole of Nuclear Scinence and Technology, Lanzhou University. All rights reserved..
- Privacy policy
- About MPGD group of Lanzhou University
- Disclaimers