Installing VTK
Procedure
- Use PuTTY to log in to the server as the root user.
- Upload the VTK source package to the /path/to/VTK directory.
- Decompress the VTK installation package.
cd path/to/VTK tar -xvf VTK-6.2.0.tar.gz cd VTK-6.2.0
- Compile and install VTK.
cmake -DCMAKE_INSTALL_PREFIX=path/to/VTK make -j 16 make install
- Set the VTK environment variable.
export PATH=/path/to/VTK/bin:$PATH
Parent topic: Configuring the Compilation Environment