How To Install qt5-qtsensors on CentOS 8

qt5-qtsensors is Qt5 - Sensors component Qt5 - Sensors component

Introduction

In this tutorial we learn how to install qt5-qtsensors on CentOS 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. qt5-qtsensors 5.12.5 1.el8 x86_64 221 k qt5-qtsensors-5.12.5-1.el8.src.rpm appstream Qt5 - Sensors component http LGPLv2 with exceptions or GPLv3 with exceptions 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 CentOS 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 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-qtsensors using dnf by running the following command:

sudo dnf -y install qt5-qtsensors

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

sudo yum -y install qt5-qtsensors

How To Uninstall qt5-qtsensors on CentOS 8

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

sudo dnf remove qt5-qtsensors

qt5-qtsensors Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/e1bf89b851fb5759a5e83d642582e6b2c3b2b9
/usr/lib/.build-id/14
/usr/lib/.build-id/14/72caa1fb3081cbe7685e501615b3ddffdad077
/usr/lib/.build-id/19
/usr/lib/.build-id/19/fc5a32cf3884699ac465aab545d1e8792203e7
/usr/lib/.build-id/26
/usr/lib/.build-id/26/22909af8eb80082327765f7a5ba7ab1e7cda78
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/ad391ce6f6ec51dd691c3c864ad530ff947c3f
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/165c733fde090356225450feb5fe01bf8ba13b
/usr/lib/.build-id/de
/usr/lib/.build-id/de/b313616d12cbcf4ad61c31cc925fb2e02187f1
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/25d30dc8bf75d8ee051f30641fa03ba7aa6d48
/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
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/58d6210b7f77f149595350bcb1acdc16e5d422
/usr/lib/.build-id/32
/usr/lib/.build-id/32/9a28d0ea73ff0f9cdc763b83f38c9f4f19e571
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/8c2c4dd870e322332b80a212dc5a80110b7a39
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/9e785f93e26f43239821b5c6e57e63627a71dd
/usr/lib/.build-id/61
/usr/lib/.build-id/61/61abf3f3c1ecacf0c8fe9c8ca13efb0f6ad620
/usr/lib/.build-id/77
/usr/lib/.build-id/77/8413cc1925f7c313efb469d094cb2492d40e10
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/f0ed47857c30a12f66ddee7d4f9bd8200d692d
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/235a4e675fa12065bf2e911111c9921e33c59c
/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

References

Summary

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