How To Install qt5-qtsvg on CentOS 8

qt5-qtsvg is Qt5 - Support for rendering and displaying SVG Qt5 - Support for rendering and displaying SVG

Introduction

In this tutorial we learn how to install qt5-qtsvg on CentOS 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. qt5-qtsvg 5.12.5 1.el8 x86_64 184 k qt5-qtsvg-5.12.5-1.el8.src.rpm appstream Qt5 - Support for rendering and displaying SVG http LGPLv2 with exceptions or GPLv3 with exceptions 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 CentOS 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 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 qt5-qtsvg using dnf by running the following command:

sudo dnf -y install qt5-qtsvg

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

sudo yum -y install qt5-qtsvg

How To Uninstall qt5-qtsvg on CentOS 8

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

sudo dnf remove qt5-qtsvg

qt5-qtsvg Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/7e35a2f5c86d7d5436c782ccbab1ce26af4d17
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/cfecb64a6219c9ab98c5f998be257372528635
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/6520add5e056d4d4db9f7f9c63fbe98f809074
/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/2d
/usr/lib/.build-id/2d/7f7b276f9c6e3f3450415e4aead1260c5a267b
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/7b8beb6a356b3b842567d0755ae8c6be366a29
/usr/lib/.build-id/be
/usr/lib/.build-id/be/12ea7deab588700b7eaca4ac3b43a83a1c2e45
/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 CentOS 8 using yum and dnf.