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. Decompress the VTK installation package.
    cd /path/to/VTK
    tar -zxvf VTK-9.0.1.tar.gz
  3. Go to the directory generated after the decompression.
    cd VTK-9.0.1
  4. Perform the compilation.
    mkdir build
    cd build
    cmake .. -D CMAKE_INSTALL_PREFIX=/usr/local/VTK-9.0.1
  5. Perform the installation.
    make -j48
    make install
  6. Check whether the installation is successful.
    ls -l /usr/local

    If the command output contains the VTK version information, the installation is successful.