我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the following directory:
    cd /path/to/ROOT
  3. 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
  4. Create and access the directory for compiling the ROOT software.
    mkdir obj
    cd obj
  5. 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
  6. Add the environment variables.
    source ../bin/thisroot.sh