Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the source package directory.
cd /path/to/openbabel
- 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
- 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
- Create a build directory and go to it.
mkidr build cd build
- 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
Parent topic: Open Babel 3.1.1 Porting Guide (Kylin V10)