Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the VTK installation package.
cd /path/to/VTK tar -zxvf VTK-9.0.1.tar.gz
- Go to the directory generated after the decompression.
cd VTK-9.0.1
- Perform the compilation.
mkdir build cd build cmake .. -D CMAKE_INSTALL_PREFIX=/usr/local/VTK-9.0.1
- Perform the installation.
make -j48 make install
- Check whether the installation is successful.
ls -l /usr/local
If the command output contains the VTK version information, the installation is successful.

Parent topic: VTK 9.0.1 Porting Guide (openEuler 20.03)