How To Install vtk-qt on CentOS 8

vtk-qt is Qt bindings for VTK

Introduction

In this tutorial we learn how to install vtk-qt on CentOS 8.

What is vtk-qt

Qt bindings for VTK.

We can use yum or dnf to install vtk-qt on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install vtk-qt.

Install vtk-qt on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install vtk-qt using dnf by running the following command:

sudo dnf -y install vtk-qt

Install vtk-qt on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install vtk-qt using yum by running the following command:

sudo yum -y install vtk-qt

How To Uninstall vtk-qt on CentOS 8

To uninstall only the vtk-qt package we can use the following command:

sudo dnf remove vtk-qt

vtk-qt Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/09/5ced74c91d9750d2edcbb452787bdb6bbdf93a
/usr/lib/.build-id/25/8ec8b1e14135b6b414e1014b7703e68f181014
/usr/lib/.build-id/3a/61592fff58764251de370942550002b19e6cfc
/usr/lib/.build-id/4e/34cb2929d2dc392318b495c138ea47bf73263c
/usr/lib/.build-id/9a/971ea686ea7578c8f05eb2afdec6dc2f8b79a5
/usr/lib/.build-id/c1/aa9578d72c5d35b34c276a9a02fd0fd516bc33
/usr/lib/.build-id/c3/b516d4127018b87c5052eb85b74dac049e2a08
/usr/lib/.build-id/cf/54f6a895a23a15f36312bddb399ca8fe02ae8d
/usr/lib/.build-id/f5/983b0a112e35a56d3f3dad3bed1b3ec4f167b7
/usr/lib64/libvtkGUISupportQt.so.1
/usr/lib64/libvtkGUISupportQt.so.9.0.1
/usr/lib64/libvtkGUISupportQtSQL.so.1
/usr/lib64/libvtkGUISupportQtSQL.so.9.0.1
/usr/lib64/libvtkRenderingQt.so.1
/usr/lib64/libvtkRenderingQt.so.9.0.1
/usr/lib64/libvtkViewsQt.so.1
/usr/lib64/libvtkViewsQt.so.9.0.1

References

Summary

In this tutorial we learn how to install vtk-qt on CentOS 8 using yum and dnf.