Ubuntu20.04查看vtk版本
时间: 2023-06-21 10:22:38 浏览: 959
要查看Ubuntu 20.04上安装的vtk的版本,可以使用以下命令:
```
dpkg -s libvtk-common1d
```
在输出中,您应该会看到vtk的版本号。例如:
```
Package: libvtk-common1d
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 1274
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: vtk6 (6.3.0+dfsg2-2build1)
Version: 6.3.0+dfsg2-2build1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4), libexpat1 (>= 2.0.1)
Description: VTK - Common data for VTK
VTK is an open-source, freely available software system for 3D computer graphics, image processing, and visualization. It consists of a C++ class library and several interpreted interface layers including Tcl/Tk, Java, and Python. VTK is part of Kitware's collection of supported platforms for software development.
Homepage: http://www.vtk.org/
```
在这个例子中,vtk的版本号是6.3.0+dfsg2-2build1。
阅读全文