Explanation on:
Do a full local installation.
-
Open terminal, create new folder, change to new folder
cd mkdir full_local_installation cd !$
-
Get the
prepare_belle2.sh
script (replace<username>
with the username you used for your desy account):wget --user <username> --ask-password --auth-no-challenge "https://stash.desy.de/projects/B2/repos/tools/browse/prepare_belle2.sh?raw" -O prepare_belle2.sh
-
Make it executable.
chmod a+x prepare_belle2.sh
-
Run it!
./prepare_belle2.sh
You might be asked to install more software; type y
to accept, enter you administrator password and wait till software is installed. At the end you should see:
All software that is required to build the Belle II software is now installed on your system.
-
Get the
tools
repository.git clone https://<your username>@stash.desy.de/scm/b2/tools.git
-
Execute the setup.
source tools/setup_belle2
-
Get the externals
get_externals.sh
use the table to select your operating system and just choose the newest version from the list that pops up if you just run get_externals.sh
get_release.sh release-00-08-00 sl6
but choose proper release and operating system. Then do (fill in the correct release-...
)
cd releases/release-..../
setuprel
if it asks you to get_externals.sh again with a specific version, just do it.
Do not run scons, just check if everything worked out directly with
basf2 --info
the tutorials are in <your installation>/releases/release-00-08-00/analysis/examples/tutorials/
.
At every startup you need to run:
source tools/setup_belle2
cd releases/release-..../
setuprel