How To Install qt5-qtlocation on CentOS 8
Introduction
In this tutorial we learn how to install qt5-qtlocation
on CentOS 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. qt5-qtlocation 5.12.5 1.el8 x86_64 3.1 M qt5-qtlocation-5.12.5-1.el8.src.rpm appstream Qt5 - Location component http LGPLv2 with exceptions or GPLv3 with exceptions 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 CentOS 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 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-qtlocation
using dnf
by running the following command:
sudo dnf -y install qt5-qtlocation
Install qt5-qtlocation 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-qtlocation
using yum
by running the following command:
sudo yum -y install qt5-qtlocation
How To Uninstall qt5-qtlocation on CentOS 8
To uninstall only the qt5-qtlocation
package we can use the following command:
sudo dnf remove qt5-qtlocation
qt5-qtlocation Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/3ee403639fa970c2d1c10099c48bad2742e8cf
/usr/lib/.build-id/63
/usr/lib/.build-id/63/60c43c241af2f68db97dc6b6d5a19d95909935
/usr/lib/.build-id/68
/usr/lib/.build-id/68/adf4ad2e427e85b8f704a523b03839dbd08275
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/acb0671f24fc85fe42f3d44fb33e9bca770011
/usr/lib/.build-id/a4/f782a9879a38432717779529f45d78bd0d79e1
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/9fce5b47a17197fbd9f3e5f05ac13173ae9d87
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/e1216a0a870932b1fd4b524a366a655a629448
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/1a435b75811264a91861ea1cc1b679a302d314
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/86ee5130ec74897d1e31a1e1aaddc3ce833089
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/f371f55b6987c5ca280b0e4dfb385ab9447627
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/170d98208317728af92a689d8fd3cd76398690
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/1e268b9940e57e1d5290afd7bc95758b482f98
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/788feff7ec2270ac7c2f95f5d5c2103b355976
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/cf31747725c487464c517cef76a078ad8bbefb
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/49a8e7231a745ea6bfcd25bc1985cee0b72aa9
/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/1b
/usr/lib/.build-id/1b/c1826b11579b56d3579d823151e6a309831b09
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/a741b798b160fae64073c17b6e01e0d648cc1b
/usr/lib/.build-id/28
/usr/lib/.build-id/28/ade442d31b843cc049e6643c25406651916496
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/84b59fe9a19a69c7b16a5db7fbbcb6b468ee2a
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/8aacaa6d76042f97f33176f6b87f873a5db1f9
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/780fbf893f668a0a7b10b10cc2eecb00990356
/usr/lib/.build-id/66
/usr/lib/.build-id/66/4ab061f41fa9bd574972f89fcbf0860f996bce
/usr/lib/.build-id/68
/usr/lib/.build-id/68/161bf2e4a26c6a372fece946fd1d9da40267e7
/usr/lib/.build-id/80
/usr/lib/.build-id/80/11e6ae6df51894dc57656d0ad3864e071a038b
/usr/lib/.build-id/90
/usr/lib/.build-id/90/cb7e80e453489acddf5091f032e9a79331027b
/usr/lib/.build-id/96
/usr/lib/.build-id/96/27665c8e2c5a0d90aed6cbe661e2aea62bc693
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/7e9de9a7b4afa4dddc9debb2309f02a5cf74dc
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/8dcdb65f87c0dd5a81aba89559052b774b0dec
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/76baf020708dc42b0ea9eb1f6a67158dcc1ee0
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/7291adff46328128fb95ece73994623d38b427
/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
- [qt5-qtlocation website](http://www.qt.io http://www.qt.io)
Summary
In this tutorial we learn how to install qt5-qtlocation
on CentOS 8 using yum and dnf.