How To Install qt5-qtxmlpatterns on CentOS 8

qt5-qtxmlpatterns is Qt5 - QtXmlPatterns component Qt5 - QtXmlPatterns component

Introduction

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

What is qt5-qtxmlpatterns

The Qt XML Patterns module provides support for XPath, XQuery, XSLT, and XML Schema validation. qt5-qtxmlpatterns 5.12.5 1.el8 x86_64 1.1 M qt5-qtxmlpatterns-5.12.5-1.el8.src.rpm appstream Qt5 - QtXmlPatterns component http LGPLv2 with exceptions or GPLv3 with exceptions The Qt XML Patterns module provides support for XPath, XQuery, XSLT, and XML Schema validation.

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

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

sudo dnf -y install qt5-qtxmlpatterns

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

sudo yum -y install qt5-qtxmlpatterns

How To Uninstall qt5-qtxmlpatterns on CentOS 8

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

sudo dnf remove qt5-qtxmlpatterns

qt5-qtxmlpatterns Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/5d14833aa707236485508ef75187f85d6d4660
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/2409461979f2b24eaf7889ac33eb3ad0579724
/usr/lib/libQt5XmlPatterns.so.5
/usr/lib/libQt5XmlPatterns.so.5.12
/usr/lib/libQt5XmlPatterns.so.5.12.5
/usr/lib/qt5/qml/QtQuick/XmlListModel
/usr/lib/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
/usr/lib/qt5/qml/QtQuick/XmlListModel/plugins.qmltypes
/usr/lib/qt5/qml/QtQuick/XmlListModel/qmldir
/usr/share/licenses/qt5-qtxmlpatterns
/usr/share/licenses/qt5-qtxmlpatterns/LICENSE.LGPL3
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/cfedee4dc35949f6b37e92c44d9841cae421ec
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/ba970a5646e6146182b2748b334069fe8fb621
/usr/lib64/libQt5XmlPatterns.so.5
/usr/lib64/libQt5XmlPatterns.so.5.12
/usr/lib64/libQt5XmlPatterns.so.5.12.5
/usr/lib64/qt5/qml/QtQuick/XmlListModel
/usr/lib64/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
/usr/lib64/qt5/qml/QtQuick/XmlListModel/plugins.qmltypes
/usr/lib64/qt5/qml/QtQuick/XmlListModel/qmldir
/usr/share/licenses/qt5-qtxmlpatterns
/usr/share/licenses/qt5-qtxmlpatterns/LICENSE.LGPL3

References

Summary

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