Skip to content

VTK (Visualization Tool Kit)

Minho edited this page Jul 1, 2024 · 9 revisions

Install dependencies

sudo apt install build-essential cmake mesa-common-dev mesa-utils freeglut3-dev python3-dev python3-venv git-core ninja-build

Download source from the website: https://vtk.org/download/

Extract and install

cd ~/Downloads
sudo tar -zxvf VTK-9.3.0.tar.gz -C /opt/
cd /opt/VTK-9.3.0/
sudo mkdir build && cd build
sudo cmake -DVTK_RENDERING_BACKEND=OpenGL ..
sudo make -j6
sudo make install

Clone this wiki locally