How To Install qt5-qtsensors on Rocky Linux 8

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

Introduction

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

What is qt5-qtsensors

The Qt Sensors API provides access to sensor hardware via QML and C++ interfaces. The Qt Sensors API also provides a motion gesture recognition API for devices.

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

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

sudo dnf -y install qt5-qtsensors

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

sudo yum -y install qt5-qtsensors

How To Uninstall qt5-qtsensors on Rocky Linux 8

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

sudo dnf remove qt5-qtsensors

qt5-qtsensors Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/35393203b3876463237c78ce17bd98e202ca71
/usr/lib/.build-id/02
/usr/lib/.build-id/02/834d5245176c85514a373931e7e27dd3883a7b
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/5eea2613a18af55d1522d6d53af5565de25cbd
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/0f8d809d699a95a6f8edd85370a0d16262b417
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/47e6b6b5015f17c0e084639b4d4dcc0e24d873
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/2b7777db99ae212f5b800ba31dcf57598ba138
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/6318022568501b7bcbda82bbc3c0ece8dae503
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/8c9004a6f8d4a9bbe1d306ce9f156a21d3d1f7
/usr/lib/cmake/Qt5Sensors
/usr/lib/cmake/Qt5Sensors/Qt5Sensors_IIOSensorProxySensorPlugin.cmake
/usr/lib/cmake/Qt5Sensors/Qt5Sensors_LinuxSensorPlugin.cmake
/usr/lib/cmake/Qt5Sensors/Qt5Sensors_QCounterGesturePlugin.cmake
/usr/lib/cmake/Qt5Sensors/Qt5Sensors_QShakeSensorGesturePlugin.cmake
/usr/lib/cmake/Qt5Sensors/Qt5Sensors_QtSensorGesturePlugin.cmake
/usr/lib/cmake/Qt5Sensors/Qt5Sensors_genericSensorPlugin.cmake
/usr/lib/libQt5Sensors.so.5
/usr/lib/libQt5Sensors.so.5.12
/usr/lib/libQt5Sensors.so.5.12.5
/usr/lib/qt5/plugins/sensorgestures
/usr/lib/qt5/plugins/sensorgestures/libqtsensorgestures_counterplugin.so
/usr/lib/qt5/plugins/sensorgestures/libqtsensorgestures_plugin.so
/usr/lib/qt5/plugins/sensorgestures/libqtsensorgestures_shakeplugin.so
/usr/lib/qt5/plugins/sensors
/usr/lib/qt5/plugins/sensors/libqtsensors_generic.so
/usr/lib/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/usr/lib/qt5/plugins/sensors/libqtsensors_linuxsys.so
/usr/lib/qt5/qml/QtSensors
/usr/lib/qt5/qml/QtSensors/libdeclarative_sensors.so
/usr/lib/qt5/qml/QtSensors/plugins.qmltypes
/usr/lib/qt5/qml/QtSensors/qmldir
/usr/share/licenses/qt5-qtsensors
/usr/share/licenses/qt5-qtsensors/LICENSE.GPL2
/usr/share/licenses/qt5-qtsensors/LICENSE.GPL3
/usr/share/licenses/qt5-qtsensors/LICENSE.GPL3-EXCEPT
/usr/share/licenses/qt5-qtsensors/LICENSE.LGPL3
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/37a93b2bb0d90bff5bbcf92b10ab95c1d94849
/usr/lib/.build-id/17
/usr/lib/.build-id/17/dc84201b0093f42021d689ad4e998d98e726a8
/usr/lib/.build-id/36
/usr/lib/.build-id/36/c370eb620a3d8689298b7d8dba90de59193b22
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/49766c8c6a4fe749b8931972e667d169784da3
/usr/lib/.build-id/56
/usr/lib/.build-id/56/f99624d94e7500069078c5a9c68357639fc65d
/usr/lib/.build-id/92
/usr/lib/.build-id/92/37c7e0e6f36d67bac48e737def9ff743695a87
/usr/lib/.build-id/be
/usr/lib/.build-id/be/6840c05d4c69b99f9bb4cf19210abd02b89f58
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/ca45443d56f7979a7c98a8c5b9e7d904e6b1f4
/usr/lib64/cmake/Qt5Sensors
/usr/lib64/cmake/Qt5Sensors/Qt5Sensors_IIOSensorProxySensorPlugin.cmake
/usr/lib64/cmake/Qt5Sensors/Qt5Sensors_LinuxSensorPlugin.cmake
/usr/lib64/cmake/Qt5Sensors/Qt5Sensors_QCounterGesturePlugin.cmake
/usr/lib64/cmake/Qt5Sensors/Qt5Sensors_QShakeSensorGesturePlugin.cmake
/usr/lib64/cmake/Qt5Sensors/Qt5Sensors_QtSensorGesturePlugin.cmake
/usr/lib64/cmake/Qt5Sensors/Qt5Sensors_genericSensorPlugin.cmake
/usr/lib64/libQt5Sensors.so.5
/usr/lib64/libQt5Sensors.so.5.12
/usr/lib64/libQt5Sensors.so.5.12.5
/usr/lib64/qt5/plugins/sensorgestures
/usr/lib64/qt5/plugins/sensorgestures/libqtsensorgestures_counterplugin.so
/usr/lib64/qt5/plugins/sensorgestures/libqtsensorgestures_plugin.so
/usr/lib64/qt5/plugins/sensorgestures/libqtsensorgestures_shakeplugin.so
/usr/lib64/qt5/plugins/sensors
/usr/lib64/qt5/plugins/sensors/libqtsensors_generic.so
/usr/lib64/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/usr/lib64/qt5/plugins/sensors/libqtsensors_linuxsys.so
/usr/lib64/qt5/qml/QtSensors
/usr/lib64/qt5/qml/QtSensors/libdeclarative_sensors.so
/usr/lib64/qt5/qml/QtSensors/plugins.qmltypes
/usr/lib64/qt5/qml/QtSensors/qmldir
/usr/share/licenses/qt5-qtsensors
/usr/share/licenses/qt5-qtsensors/LICENSE.GPL2
/usr/share/licenses/qt5-qtsensors/LICENSE.GPL3
/usr/share/licenses/qt5-qtsensors/LICENSE.GPL3-EXCEPT
/usr/share/licenses/qt5-qtsensors/LICENSE.LGPL3

References

Summary

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