Downloading the Geant4 package

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
 
Line 13: Line 13:
'''The Geant4 unzipped folder'''
'''The Geant4 unzipped folder'''
-
The unzipped folder contains several subdirectories. These folders are essentially the installation packages and files. You need not concern yourself at all with them; the command terminal will deal with them.
+
The unzipped folder contains several subdirectories. These folders are essentially the installation packages and files. You need not concern yourself at all with them; the command terminal will deal with them.
-
 
+
-
== Linux terminal ==
+
-
 
+
-
Now that the package has been fully unzipped you will need to to open a Linux Terminal. You can do this by using the Linux menu system: Applications > Sytem Tools > Terminal
+
-
 
+
-
== Installing libraries ==
+
-
 
+
-
'''ONLY CARRY OUT THIS PAGE IF YOU CAN GET ROOT ACCESS'''
+
-
 
+
-
<span style="color:#ff0000"> NOTE:  To install these additional libraries ensure you are using the terminal as a root user. If using a UCL computer, these libraries should already be installed and you can skip to the
+
-
next page. If these libraries are not installed contacted your system administrator for help.</span>
+
-
 
+
-
'''How to use terminal as root user'''
+
-
 
+
-
Open a command terminal (as shown on the previous page) and type
+
-
'''“su”''' into the command terminal.
+
-
 
+
-
You will then be prompted to enter a password. Please enter the root password that you set up
+
-
when you installed linux. When you type the password you will '''not''' see any new characters
+
-
appearing on the screen. THIS '''IS NORMAL'''. When you have entered your password, press the
+
-
return key. You should now be presented with the line:
+
-
 
+
-
<pre style="color: #800000; background-color: #dcdcdc">
+
-
[root@localhost your_name]#
+
-
</pre>
+
-
 
+
-
The first set of libraries you will need to install are the '''expat''' libraries. This library
+
-
resolves '''XML''' files. To install these libraries type the command
+
-
 
+
-
<pre style="color: #800000; background-color: #dcdcdc">
+
-
sudo yum install expat*
+
-
</pre>
+
-
 
+
-
The * makes sure that all libraries with the word “expat” are installed. When prompted to type Y or
+
-
N, type '''Y''' followed by the '''return''' key.
+
-
 
+
-
You will now need to install the mesa libraries. These libraries contain the visualiser '''OpenGL'''
+
-
To install these libraries type the command:
+
-
 
+
-
<pre style="color: #800000; background-color: #dcdcdc">
+
-
sudo yum install mesa*
+
-
</pre>
+
-
 
+
-
You will finally need to install the library '''cmake'''. This library allows you to build and run Geant4 simulations. Type the command
+
-
 
+
-
<pre style="color: #800000; background-color: #dcdcdc">
+
-
sudo yum install cmake
+
-
</pre>
+

Latest revision as of 14:18, 16 July 2014

Personal tools