Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the following directory:
cd /path/to/ROOT
- Decompress the ROOT installation package and go to the installation directory.
tar -xzvf root_v6.20.00.source.tar.gz cd root-6.20.00
- Create and access the directory for compiling the ROOT software.
mkdir obj cd obj
- Ensure that the server is connected to the Internet and compile and install the software.
cmake ./ -DCMAKE_INSTALL_PREFIX=/path/to/ROOT -DENABLE_PERL=FALSE make make install
- Add the environment variables.
source ../bin/thisroot.sh
Parent topic: ROOT 6.20 Porting Guide (openEuler 21.03)