How To Install qt5-qtsvg on Rocky Linux 8

In this tutorial we learn how to install qt5-qtsvg on Rocky Linux 8. qt5-qtsvg is Qt5 - Support for rendering and displaying SVG

Introduction

In this tutorial we learn how to install qt5-qtsvg on Rocky Linux 8.

What is qt5-qtsvg

Scalable Vector Graphics (SVG) is an XML-based language for describing two-dimensional vector graphics. Qt provides classes for rendering and displaying SVG drawings in widgets and on other paint devices.

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

Install qt5-qtsvg on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install qt5-qtsvg

Install qt5-qtsvg on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install qt5-qtsvg

How To Uninstall qt5-qtsvg on Rocky Linux 8

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

sudo dnf remove qt5-qtsvg

qt5-qtsvg Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/84216b638d6aa4ab7bcf4946ca949c6ca7a124
/usr/lib/.build-id/45
/usr/lib/.build-id/45/f22fb35f0805d1c1a9f4ae471fc0a9cc4ffb24
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/1b4073abdeadabfa9bf13ebd4c9322632ab76c
/usr/lib64/cmake/Qt5Svg
/usr/lib64/cmake/Qt5Svg/Qt5Svg_QSvgIconPlugin.cmake
/usr/lib64/cmake/Qt5Svg/Qt5Svg_QSvgPlugin.cmake
/usr/lib64/libQt5Svg.so.5
/usr/lib64/libQt5Svg.so.5.12
/usr/lib64/libQt5Svg.so.5.12.5
/usr/lib64/qt5/plugins/iconengines/libqsvgicon.so
/usr/lib64/qt5/plugins/imageformats/libqsvg.so
/usr/share/licenses/qt5-qtsvg
/usr/share/licenses/qt5-qtsvg/LICENSE.FDL
/usr/share/licenses/qt5-qtsvg/LICENSE.GPL2
/usr/share/licenses/qt5-qtsvg/LICENSE.GPL3
/usr/share/licenses/qt5-qtsvg/LICENSE.GPL3-EXCEPT
/usr/share/licenses/qt5-qtsvg/LICENSE.GPLv3
/usr/share/licenses/qt5-qtsvg/LICENSE.LGPL3
/usr/share/licenses/qt5-qtsvg/LICENSE.LGPLv21
/usr/share/licenses/qt5-qtsvg/LICENSE.LGPLv3
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/bb02e72f106b8ecf0b09369c5fc0dedf60c754
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/5a7b12de3d4c13b729795f981a03526b5750e5
/usr/lib/.build-id/be
/usr/lib/.build-id/be/0d77c39862c31f4f2f1913c6d625c2579a3623
/usr/lib/cmake/Qt5Svg
/usr/lib/cmake/Qt5Svg/Qt5Svg_QSvgIconPlugin.cmake
/usr/lib/cmake/Qt5Svg/Qt5Svg_QSvgPlugin.cmake
/usr/lib/libQt5Svg.so.5
/usr/lib/libQt5Svg.so.5.12
/usr/lib/libQt5Svg.so.5.12.5
/usr/lib/qt5/plugins/iconengines/libqsvgicon.so
/usr/lib/qt5/plugins/imageformats/libqsvg.so
/usr/share/licenses/qt5-qtsvg
/usr/share/licenses/qt5-qtsvg/LICENSE.FDL
/usr/share/licenses/qt5-qtsvg/LICENSE.GPL2
/usr/share/licenses/qt5-qtsvg/LICENSE.GPL3
/usr/share/licenses/qt5-qtsvg/LICENSE.GPL3-EXCEPT
/usr/share/licenses/qt5-qtsvg/LICENSE.GPLv3
/usr/share/licenses/qt5-qtsvg/LICENSE.LGPL3
/usr/share/licenses/qt5-qtsvg/LICENSE.LGPLv21
/usr/share/licenses/qt5-qtsvg/LICENSE.LGPLv3

References

Summary

In this tutorial we learn how to install qt5-qtsvg on Rocky Linux 8 using yum and dnf.