How To Install qt5-qtlocation on Rocky Linux 8

In this tutorial we learn how to install qt5-qtlocation on Rocky Linux 8. qt5-qtlocation is Qt5 - Location component

Introduction

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

What is qt5-qtlocation

The Qt Location and Qt Positioning APIs gives developers the ability to determine a position by using a variety of possible sources, including satellite, or wifi, or text file, and so on.

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

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

sudo dnf -y install qt5-qtlocation

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

sudo yum -y install qt5-qtlocation

How To Uninstall qt5-qtlocation on Rocky Linux 8

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

sudo dnf remove qt5-qtlocation

qt5-qtlocation Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/eae71c866a93e2b800be8ae23a63a67bd2d67c
/usr/lib/.build-id/14
/usr/lib/.build-id/14/6dc64eef8a9614e067d5e18eeefda754e5a774
/usr/lib/.build-id/35
/usr/lib/.build-id/35/9c1cef5dcbb62010cb4a1c8328a94d05552746
/usr/lib/.build-id/36
/usr/lib/.build-id/36/60906f8150aed4b387d5c6a6b83cda3a266dea
/usr/lib/.build-id/39
/usr/lib/.build-id/39/1c7a39e97457fbc631a16477285a90d27ebe6c
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/ebef7c2143d13217ee57f5c5c82e8c60b3eb69
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/9e85cb8e91b5adf849ebb3cbcb570f81dd3045
/usr/lib/.build-id/74
/usr/lib/.build-id/74/9a75f1e9bb9c335c4c9b3f78cfdea18e9533c3
/usr/lib/.build-id/82
/usr/lib/.build-id/82/b23a090c99c50090014c79340efe9bc62fe2b1
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/6efe8a852bd14c0cb82516235a1cabfcb23711
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/85ccdc73f76b36145fbe02b0f274e49745fea4
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/2b0f5dccb5e18cd99f442cd1a367ca2fb03021
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/734d88b0227d4b6e2909e700ad7ee7ab12428d
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/242bab76471e8cc0eb7d419f4b5d32aafb678a
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/93831fae2197c2b5f15a89bf38b887ec7d79b9
/usr/lib/libQt5Location.so.5
/usr/lib/libQt5Location.so.5.12
/usr/lib/libQt5Location.so.5.12.5
/usr/lib/libQt5Positioning.so.5
/usr/lib/libQt5Positioning.so.5.12
/usr/lib/libQt5Positioning.so.5.12.5
/usr/lib/libQt5PositioningQuick.so.5
/usr/lib/libQt5PositioningQuick.so.5.12
/usr/lib/libQt5PositioningQuick.so.5.12.5
/usr/lib/qt5/plugins/geoservices
/usr/lib/qt5/plugins/geoservices/libqtgeoservices_esri.so
/usr/lib/qt5/plugins/geoservices/libqtgeoservices_itemsoverlay.so
/usr/lib/qt5/plugins/geoservices/libqtgeoservices_mapbox.so
/usr/lib/qt5/plugins/geoservices/libqtgeoservices_mapboxgl.so
/usr/lib/qt5/plugins/geoservices/libqtgeoservices_nokia.so
/usr/lib/qt5/plugins/geoservices/libqtgeoservices_osm.so
/usr/lib/qt5/plugins/position
/usr/lib/qt5/plugins/position/libqtposition_geoclue.so
/usr/lib/qt5/plugins/position/libqtposition_geoclue2.so
/usr/lib/qt5/plugins/position/libqtposition_positionpoll.so
/usr/lib/qt5/qml/Qt
/usr/lib/qt5/qml/Qt/labs
/usr/lib/qt5/qml/Qt/labs/location
/usr/lib/qt5/qml/Qt/labs/location/liblocationlabsplugin.so
/usr/lib/qt5/qml/Qt/labs/location/plugins.qmltypes
/usr/lib/qt5/qml/Qt/labs/location/qmldir
/usr/lib/qt5/qml/QtLocation
/usr/lib/qt5/qml/QtLocation/libdeclarative_location.so
/usr/lib/qt5/qml/QtLocation/plugins.qmltypes
/usr/lib/qt5/qml/QtLocation/qmldir
/usr/lib/qt5/qml/QtPositioning
/usr/lib/qt5/qml/QtPositioning/libdeclarative_positioning.so
/usr/lib/qt5/qml/QtPositioning/plugins.qmltypes
/usr/lib/qt5/qml/QtPositioning/qmldir
/usr/share/licenses/qt5-qtlocation
/usr/share/licenses/qt5-qtlocation/LICENSE.GPL2
/usr/share/licenses/qt5-qtlocation/LICENSE.GPL3
/usr/share/licenses/qt5-qtlocation/LICENSE.GPL3-EXCEPT
/usr/share/licenses/qt5-qtlocation/LICENSE.GPLv3
/usr/share/licenses/qt5-qtlocation/LICENSE.LGPL3
/usr/share/licenses/qt5-qtlocation/LICENSE.LGPLv3
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/b9ac0fdfac0cbb7317936a56d9d74e1f686268
/usr/lib/.build-id/34
/usr/lib/.build-id/34/f6a193f2674c599423b235ae16540b713ce18f
/usr/lib/.build-id/51
/usr/lib/.build-id/51/5ccb733c5353766dcda1be13ef9b22fa30d069
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/1312db63d677d8a7c15f57a6a7c54afb6d53b4
/usr/lib/.build-id/77
/usr/lib/.build-id/77/ffa618e1bb42816de7a8bef90fb0d9b80c22a1
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/be1cd5ed5c47a41434a271d10335890bcf49d2
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/bd14181464c8d10e5586aae3cdb66ca18970f2
/usr/lib/.build-id/99
/usr/lib/.build-id/99/862c08c0649d19a2ca805bccba8d634656db1e
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/7f2c246a95b922c263906d52068909719a9c6b
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/ac5e808496e05b8db68ca6fea59ee887ed91e9
/usr/lib/.build-id/da
/usr/lib/.build-id/da/a8db6701538ebd59ec389a9cea93ae3b9af721
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/03e0b6279d9c951ff647e732cff0b4fdf48f19
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/933f470aeab5dadd3a728867ca91f6efd9e1c9
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/4a2c7df206c51791a1068f328b5b3c975e776a
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/d9c9c2cda8cc4eced9c27911c4d35193057e57
/usr/lib64/libQt5Location.so.5
/usr/lib64/libQt5Location.so.5.12
/usr/lib64/libQt5Location.so.5.12.5
/usr/lib64/libQt5Positioning.so.5
/usr/lib64/libQt5Positioning.so.5.12
/usr/lib64/libQt5Positioning.so.5.12.5
/usr/lib64/libQt5PositioningQuick.so.5
/usr/lib64/libQt5PositioningQuick.so.5.12
/usr/lib64/libQt5PositioningQuick.so.5.12.5
/usr/lib64/qt5/plugins/geoservices
/usr/lib64/qt5/plugins/geoservices/libqtgeoservices_esri.so
/usr/lib64/qt5/plugins/geoservices/libqtgeoservices_itemsoverlay.so
/usr/lib64/qt5/plugins/geoservices/libqtgeoservices_mapbox.so
/usr/lib64/qt5/plugins/geoservices/libqtgeoservices_mapboxgl.so
/usr/lib64/qt5/plugins/geoservices/libqtgeoservices_nokia.so
/usr/lib64/qt5/plugins/geoservices/libqtgeoservices_osm.so
/usr/lib64/qt5/plugins/position
/usr/lib64/qt5/plugins/position/libqtposition_geoclue.so
/usr/lib64/qt5/plugins/position/libqtposition_geoclue2.so
/usr/lib64/qt5/plugins/position/libqtposition_positionpoll.so
/usr/lib64/qt5/qml/Qt
/usr/lib64/qt5/qml/Qt/labs
/usr/lib64/qt5/qml/Qt/labs/location
/usr/lib64/qt5/qml/Qt/labs/location/liblocationlabsplugin.so
/usr/lib64/qt5/qml/Qt/labs/location/plugins.qmltypes
/usr/lib64/qt5/qml/Qt/labs/location/qmldir
/usr/lib64/qt5/qml/QtLocation
/usr/lib64/qt5/qml/QtLocation/libdeclarative_location.so
/usr/lib64/qt5/qml/QtLocation/plugins.qmltypes
/usr/lib64/qt5/qml/QtLocation/qmldir
/usr/lib64/qt5/qml/QtPositioning
/usr/lib64/qt5/qml/QtPositioning/libdeclarative_positioning.so
/usr/lib64/qt5/qml/QtPositioning/plugins.qmltypes
/usr/lib64/qt5/qml/QtPositioning/qmldir
/usr/share/licenses/qt5-qtlocation
/usr/share/licenses/qt5-qtlocation/LICENSE.GPL2
/usr/share/licenses/qt5-qtlocation/LICENSE.GPL3
/usr/share/licenses/qt5-qtlocation/LICENSE.GPL3-EXCEPT
/usr/share/licenses/qt5-qtlocation/LICENSE.GPLv3
/usr/share/licenses/qt5-qtlocation/LICENSE.LGPL3
/usr/share/licenses/qt5-qtlocation/LICENSE.LGPLv3

References

Summary

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