How To Install libQGLViewer-qt5 on CentOS 8

In this tutorial we learn how to install libQGLViewer-qt5 on CentOS 8. libQGLViewer-qt5 is Qt5 version of libQGLViewer

Introduction

In this tutorial we learn how to install libQGLViewer-qt5 on CentOS 8.

What is libQGLViewer-qt5

libQGLViewer is a C++ library based on Qt that eases the creation of OpenGL 3D viewers. It provides some of the typical 3D viewer functionality, such as the possibility to move the camera using the mouse, which lacks in most of the other APIs. Other features include mouse manipulated frames, interpolated key-frames, object selection, stereo display, screenshot saving and much more. It can be used by OpenGL beginners as well as to create complex applications, being fully customizable and easy to extend.

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

Install libQGLViewer-qt5 on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libQGLViewer-qt5

Install libQGLViewer-qt5 on CentOS 8 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libQGLViewer-qt5

How To Uninstall libQGLViewer-qt5 on CentOS 8

To uninstall only the libQGLViewer-qt5 package we can use the following command:

sudo dnf remove libQGLViewer-qt5

References

Summary

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