How To Install qt5-qtlocation.i686 on Amazon Linux 2

In this tutorial we learn how to install qt5-qtlocation.i686 in Amazon Linux 2. qt5-qtlocation.i686 is Qt5 - Location component

Introduction

In this tutorial we learn how to install qt5-qtlocation.i686 on Amazon Linux 2.

What is qt5-qtlocation.i686

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 to install qt5-qtlocation.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install qt5-qtlocation.i686.

Install qt5-qtlocation.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install qt5-qtlocation.i686

How To Uninstall qt5-qtlocation.i686 on Amazon Linux 2

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

sudo yum remove qt5-qtlocation.i686

qt5-qtlocation.i686 Package Contents on Amazon Linux 2

/usr/lib/cmake
/usr/lib/libQt5Location.so.5
/usr/lib/libQt5Location.so.5.9
/usr/lib/libQt5Location.so.5.9.2
/usr/lib/libQt5Positioning.so.5
/usr/lib/libQt5Positioning.so.5.9
/usr/lib/libQt5Positioning.so.5.9.2
/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_positionpoll.so
/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-5.9.2
/usr/share/licenses/qt5-qtlocation-5.9.2/LGPL_EXCEPTION.txt
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.GPL2
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.GPL3
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.GPL3-EXCEPT
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.GPLv2
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.GPLv3
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.LGPL3
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.LGPLv21
/usr/share/licenses/qt5-qtlocation-5.9.2/LICENSE.LGPLv3

References

Summary

In this tutorial we learn how to install qt5-qtlocation.i686 on Amazon Linux 2 using yum.