Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the source package directory.
    cd /path/to/openbabel
  3. Decompress the installation package and go to the directory generated after the decompression.
    tar xvf openbabel-3-1-1.tar.gz
    cd openbabel-3.1.1
  4. Download the Eigen3 package and decompress it.
    wget https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz
    tar xvf eigen-3.4.0.tar.gz
  5. Create a build directory and go to it.
    mkidr build
    cd build
  6. Perform the compilation and installation.
    cmake .. -DEIGEN3_INCLUDE_DIR=/path/to/openbabel/openbabel-3.1.1/eigen-3.4.0 -DCMAKE_INSTALL_PREFIX=/path/to/openbabel/openbabel-3.1.1-install
    make
    make install