How To Install gtengine on CentOS 8

gtengine is Library for computations in mathematics, graphics, image analysis, and physics

Introduction

In this tutorial we learn how to install gtengine on CentOS 8.

What is gtengine

A library of source code for computing in the fields of mathematics, graphics, image analysis, and physics. The engine is written in C++ 11 and, as such, has portable access to standard constructs for multithreading programming on cores. The engine also supports high-performance computing using general purpose GPU programming (GPGPU). SIMD code is also available using Intel Streaming SIMD Extensions (SSE). GTEngine requires OpenGL 4.5.0 (or later).

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

Install gtengine 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 gtengine using dnf by running the following command:

sudo dnf -y install gtengine

Install gtengine 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 gtengine using yum by running the following command:

sudo yum -y install gtengine

How To Uninstall gtengine on CentOS 8

To uninstall only the gtengine package we can use the following command:

sudo dnf remove gtengine

gtengine Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/89a9fa44dd4f3b3e0323e7b882e659ca9f39f6
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/b9c5d258fc1573f8c12db93c5e776c377f4d9b
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/81280a71670e313169030b854dabbe050cae6e
/usr/lib64/libgtapplications.so.5
/usr/lib64/libgtapplications.so.5.0
/usr/lib64/libgtgraphics.so.5
/usr/lib64/libgtgraphics.so.5.0
/usr/lib64/libgtmathematicsgpu.so.5
/usr/lib64/libgtmathematicsgpu.so.5.0
/usr/share/licenses/gtengine
/usr/share/licenses/gtengine/License

References

Summary

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