A streamlined, one-click shell script for ALICE O2/Physics framework deployment.
The official ALICE O2/Physics documentation is comprehensive but can be overwhelming for new research students. Manual installation involves managing complex environment variables, multiple dependencies, and long build times, which often lead to configuration errors.
This project provides a hassle-free shell script that automates the entire process:
- β Installs system prerequisites (Python3, Git, development tools).
- β
Sets up
aliBuildand the required directory structure. - β
Handles the
aliBuild initandaliBuild buildsequence for O2 and O2Physics. - β Configures the environment so you can start your analysis immediately.
- β If you have already built it, then you can also rebuild it with it.
Warning
Building O2Physics requires significant RAM (16GB+ recommended) and disk space (approx. 50GB-100GB).
# Remember, as for prerequisities you make a copy and paste the following commands:
# updating system
sudo apt update -y`
# To install the necessary packages
sudo apt install -y curl libcurl4-gnutls-dev build-essential gfortran libmysqlclient-dev xorg-dev libglu1-mesa-dev libfftw3-dev libxml2-dev git unzip autoconf automake autopoint texinfo gettext libtool libtool-bin pkg-config bison flex libperl-dev libbz2-dev swig liblzma-dev libnanomsg-dev rsync lsb-release environment-modules libglfw3-dev libtbb-dev python3-dev python3-venv python3-pip graphviz libncurses-dev software-properties-common gtk-doc-tools`
# To install aliBuild use:
sudo add-apt-repository ppa:alisw/ppa`
sudo apt update`
sudo apt install python3-alibuild`
# Clone this repository
git clone [https://github.com/dibakardhar/aliBuildO2Physics.git](https://github.com/dibakardhar/aliBuildO2Physics.git)
cd aliBuildO2Physics
# Make the script executable
chmod +x autoBuildO2.sh
# Run the installer
./autoBuildO2.sh