How To Install qt5-qtdeclarative on Rocky Linux 8

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

Introduction

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

What is qt5-qtdeclarative

Qt5 - QtDeclarative component.

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

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

sudo dnf -y install qt5-qtdeclarative

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

sudo yum -y install qt5-qtdeclarative

How To Uninstall qt5-qtdeclarative on Rocky Linux 8

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

sudo dnf remove qt5-qtdeclarative

qt5-qtdeclarative Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/b518aee3f643a09fcd34d7a6dec9594da22874
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/efaa0a474133e566f6f94c53206a073c8346c1
/usr/lib/.build-id/21
/usr/lib/.build-id/21/408d6dfbebae177729d11f531db4d6f2dfc56d
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/ca4510714da3831757a5ba9e3dc78ece7361b0
/usr/lib/.build-id/2d/fda7ffcaa226e64a887617547b578e4d521300
/usr/lib/.build-id/31
/usr/lib/.build-id/31/a22d5b549dde0b45fe95c444edefb4b2ea709b
/usr/lib/.build-id/36
/usr/lib/.build-id/36/1d7224243cd9899b5c198b0ad5ae0092c6e669
/usr/lib/.build-id/41
/usr/lib/.build-id/41/7bbf0e4d6edd23200bdb06c68e5f3d9d1e6c53
/usr/lib/.build-id/42
/usr/lib/.build-id/42/2af8beee4937ac5386a349d7079910c29e7f3d
/usr/lib/.build-id/58
/usr/lib/.build-id/58/221d64a3a4e082d0c2147bbd898b72017fc4f7
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/0cb44691b59cf43147034785b3081552ac9e50
/usr/lib/.build-id/5b/1d31c9df4a5df582cba6fc046e9275430a260f
/usr/lib/.build-id/64
/usr/lib/.build-id/64/e7290c48ed643bd0bd4486c5a4db8361dc28bf
/usr/lib/.build-id/82
/usr/lib/.build-id/82/c419bf9e1e598473a6140a4ea41c500b3bc0e7
/usr/lib/.build-id/83
/usr/lib/.build-id/83/e47c17675da5e5a2a69a8dbec993d3422e145f
/usr/lib/.build-id/86
/usr/lib/.build-id/86/04963cdf5015acaff04cb3756a3bc8389df773
/usr/lib/.build-id/86/e1a68a9450dbc18c1788a91ab70a7b851f8e84
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/074e5d8bbb667b676a70795650bda5dfe97722
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/e5762e0fa838257dd588ba07a44716dc67a077
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/c0a273f9200e316773bbc1bb8d7376387ae9aa
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/990f0c0135e57f56388209a5df0b6238304e5c
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/a7da64629ea1dbfb0bf65f04bf092d40616537
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/abcda3a8559d7b41b42a5be99dd147b95daa56
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/0d719f9466e1ef2bdaeb829acc1adde22f37d1
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/23ede2e637cc9ef5bd9bd7376af6ab52068747
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/0359a5420705dadd1dfebc7c55451be7cb6bbf
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/e97374f5119ce87a2dda5992558dfdbce91d3b
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/f2a1f620e75306b7243215d039c6653a189d44
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/c815b5183d5b74cfb87c9e517800cc248720ba
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/bea6424e5e5e9adc5f588015f9ee8945e73b42
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/ce1e10e57e50246d2386293ba8a76a411e28d7
/usr/lib/libQt5Qml.so.5
/usr/lib/libQt5Qml.so.5.12
/usr/lib/libQt5Qml.so.5.12.5
/usr/lib/libQt5Quick.so.5
/usr/lib/libQt5Quick.so.5.12
/usr/lib/libQt5Quick.so.5.12.5
/usr/lib/libQt5QuickParticles.so.5
/usr/lib/libQt5QuickParticles.so.5.12
/usr/lib/libQt5QuickParticles.so.5.12.5
/usr/lib/libQt5QuickShapes.so.5
/usr/lib/libQt5QuickShapes.so.5.12
/usr/lib/libQt5QuickShapes.so.5.12.5
/usr/lib/libQt5QuickTest.so.5
/usr/lib/libQt5QuickTest.so.5.12
/usr/lib/libQt5QuickTest.so.5.12.5
/usr/lib/libQt5QuickWidgets.so.5
/usr/lib/libQt5QuickWidgets.so.5.12
/usr/lib/libQt5QuickWidgets.so.5.12.5
/usr/lib/qt5/plugins/qmltooling
/usr/lib/qt5/plugins/qmltooling/libqmldbg_debugger.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_inspector.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_local.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_messages.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_native.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_nativedebugger.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_preview.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_profiler.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_quickprofiler.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_server.so
/usr/lib/qt5/plugins/qmltooling/libqmldbg_tcp.so
/usr/lib/qt5/qml
/usr/lib/qt5/qml/Qt
/usr/lib/qt5/qml/Qt/labs
/usr/lib/qt5/qml/Qt/labs/folderlistmodel
/usr/lib/qt5/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so
/usr/lib/qt5/qml/Qt/labs/folderlistmodel/plugins.qmltypes
/usr/lib/qt5/qml/Qt/labs/folderlistmodel/qmldir
/usr/lib/qt5/qml/Qt/labs/qmlmodels
/usr/lib/qt5/qml/Qt/labs/qmlmodels/liblabsmodelsplugin.so
/usr/lib/qt5/qml/Qt/labs/qmlmodels/plugins.qmltypes
/usr/lib/qt5/qml/Qt/labs/qmlmodels/qmldir
/usr/lib/qt5/qml/Qt/labs/settings
/usr/lib/qt5/qml/Qt/labs/settings/libqmlsettingsplugin.so
/usr/lib/qt5/qml/Qt/labs/settings/plugins.qmltypes
/usr/lib/qt5/qml/Qt/labs/settings/qmldir
/usr/lib/qt5/qml/Qt/labs/sharedimage
/usr/lib/qt5/qml/Qt/labs/sharedimage/libsharedimageplugin.so
/usr/lib/qt5/qml/Qt/labs/sharedimage/plugins.qmltypes
/usr/lib/qt5/qml/Qt/labs/sharedimage/qmldir
/usr/lib/qt5/qml/Qt/labs/wavefrontmesh
/usr/lib/qt5/qml/Qt/labs/wavefrontmesh/libqmlwavefrontmeshplugin.so
/usr/lib/qt5/qml/Qt/labs/wavefrontmesh/plugins.qmltypes
/usr/lib/qt5/qml/Qt/labs/wavefrontmesh/qmldir
/usr/lib/qt5/qml/QtQml
/usr/lib/qt5/qml/QtQml/Models.2
/usr/lib/qt5/qml/QtQml/Models.2/libmodelsplugin.so
/usr/lib/qt5/qml/QtQml/Models.2/plugins.qmltypes
/usr/lib/qt5/qml/QtQml/Models.2/qmldir
/usr/lib/qt5/qml/QtQml/StateMachine
/usr/lib/qt5/qml/QtQml/StateMachine/libqtqmlstatemachine.so
/usr/lib/qt5/qml/QtQml/StateMachine/plugins.qmltypes
/usr/lib/qt5/qml/QtQml/StateMachine/qmldir
/usr/lib/qt5/qml/QtQml/plugins.qmltypes
/usr/lib/qt5/qml/QtQml/qmldir
/usr/lib/qt5/qml/QtQuick
/usr/lib/qt5/qml/QtQuick.2
/usr/lib/qt5/qml/QtQuick.2/libqtquick2plugin.so
/usr/lib/qt5/qml/QtQuick.2/plugins.qmltypes
/usr/lib/qt5/qml/QtQuick.2/qmldir
/usr/lib/qt5/qml/QtQuick/Layouts
/usr/lib/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
/usr/lib/qt5/qml/QtQuick/Layouts/plugins.qmltypes
/usr/lib/qt5/qml/QtQuick/Layouts/qmldir
/usr/lib/qt5/qml/QtQuick/LocalStorage
/usr/lib/qt5/qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so
/usr/lib/qt5/qml/QtQuick/LocalStorage/plugins.qmltypes
/usr/lib/qt5/qml/QtQuick/LocalStorage/qmldir
/usr/lib/qt5/qml/QtQuick/Particles.2
/usr/lib/qt5/qml/QtQuick/Particles.2/libparticlesplugin.so
/usr/lib/qt5/qml/QtQuick/Particles.2/plugins.qmltypes
/usr/lib/qt5/qml/QtQuick/Particles.2/qmldir
/usr/lib/qt5/qml/QtQuick/Shapes
/usr/lib/qt5/qml/QtQuick/Shapes/libqmlshapesplugin.so
/usr/lib/qt5/qml/QtQuick/Shapes/plugins.qmltypes
/usr/lib/qt5/qml/QtQuick/Shapes/qmldir
/usr/lib/qt5/qml/QtQuick/Window.2
/usr/lib/qt5/qml/QtQuick/Window.2/libwindowplugin.so
/usr/lib/qt5/qml/QtQuick/Window.2/plugins.qmltypes
/usr/lib/qt5/qml/QtQuick/Window.2/qmldir
/usr/lib/qt5/qml/QtTest
/usr/lib/qt5/qml/QtTest/SignalSpy.qml
/usr/lib/qt5/qml/QtTest/TestCase.qml
/usr/lib/qt5/qml/QtTest/libqmltestplugin.so
/usr/lib/qt5/qml/QtTest/plugins.qmltypes
/usr/lib/qt5/qml/QtTest/qmldir
/usr/lib/qt5/qml/QtTest/testlogger.js
/usr/lib/qt5/qml/builtins.qmltypes
/usr/share/licenses/qt5-qtdeclarative
/usr/share/licenses/qt5-qtdeclarative/LICENSE.LGPL3
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/ff033b7e8a6622dfa90af8a63fab916d44f853
/usr/lib/.build-id/09
/usr/lib/.build-id/09/fbaee37adcb7ff29c21c9a5045b8db6210506d
/usr/lib/.build-id/15
/usr/lib/.build-id/15/8e7eda6f56b9c07ca686721af701e3dd1882e9
/usr/lib/.build-id/24
/usr/lib/.build-id/24/aaaeeb675698b590be6124846b1968d23eb7ff
/usr/lib/.build-id/28
/usr/lib/.build-id/28/25eb8f90c5924b8b94fcbe788ebcf904655ed0
/usr/lib/.build-id/31
/usr/lib/.build-id/31/b120d2d0fdadd4f14b67b58937a44098fd8978
/usr/lib/.build-id/31/b212e518af9533e055f50ff45a68fd752253bd
/usr/lib/.build-id/34
/usr/lib/.build-id/34/40cd5a0d37b9ea9a838842e2fed771fae43caa
/usr/lib/.build-id/42
/usr/lib/.build-id/42/cc13c6eab67270b4c7e39333a0582230d555b2
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/23dac7cd0fa778be1f44deaa0d2fdc769ebf52
/usr/lib/.build-id/53
/usr/lib/.build-id/53/dda494fd5a1ebd81e5b0b56e77a004235a1d86
/usr/lib/.build-id/54
/usr/lib/.build-id/54/c5d4ad447727eaa40d3c075412769ed92082f5
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/854b897628ce78de82959e028c2669cbfbe7f5
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/ab3a0abf47c611efc095b07d94d4598a8cc11a
/usr/lib/.build-id/62
/usr/lib/.build-id/62/d757ad3c137609d66ff450afac2265466c3fd9
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/317d3511aa438ba89dd83def2ed9e2a2122436
/usr/lib/.build-id/79
/usr/lib/.build-id/79/111b2fbe6f98f24f0c8784ed86e09599b0ff87
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/3d19c0f4c3ad417e1d3c72db5b44eeddb868c4
/usr/lib/.build-id/85
/usr/lib/.build-id/85/f72bc31f04fc78de5e5db33b38a5577b94890f
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/46a3fa9b3622ce0556e633690bb18d14950b63
/usr/lib/.build-id/91
/usr/lib/.build-id/91/5dbe0453a00d89b8b7918be105a4fde5fcf09a
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/2cafb947bedcbe1918563284060fba5312efc8
/usr/lib/.build-id/9d/4e98595399a31367ceaa006507b24f22549b6f
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/1835dfff812066e63456bb27e8390ebf47e610
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/da4a402ae33d57cf74e288e6e4361778463bda
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/0bb936a958f8886a2a9d0d40aaec525eba5330
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/15e802756fa3cc8aa06e996a258b05fa80aa7c
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/63708b61f8de164954f9f2eea7794e41438a88
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/08fe79ac0e7e88e91c160ff5059befd0e5182c
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/ce1aec023050eaedfa964cacd16b5f11f65c4f
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/974901767e6bee1903cd3d867e6b561cdf5669
/usr/lib64/libQt5Qml.so.5
/usr/lib64/libQt5Qml.so.5.12
/usr/lib64/libQt5Qml.so.5.12.5
/usr/lib64/libQt5Quick.so.5
/usr/lib64/libQt5Quick.so.5.12
/usr/lib64/libQt5Quick.so.5.12.5
/usr/lib64/libQt5QuickParticles.so.5
/usr/lib64/libQt5QuickParticles.so.5.12
/usr/lib64/libQt5QuickParticles.so.5.12.5
/usr/lib64/libQt5QuickShapes.so.5
/usr/lib64/libQt5QuickShapes.so.5.12
/usr/lib64/libQt5QuickShapes.so.5.12.5
/usr/lib64/libQt5QuickTest.so.5
/usr/lib64/libQt5QuickTest.so.5.12
/usr/lib64/libQt5QuickTest.so.5.12.5
/usr/lib64/libQt5QuickWidgets.so.5
/usr/lib64/libQt5QuickWidgets.so.5.12
/usr/lib64/libQt5QuickWidgets.so.5.12.5
/usr/lib64/qt5/plugins/qmltooling
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_debugger.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_inspector.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_local.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_messages.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_native.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_nativedebugger.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_preview.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_profiler.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_quickprofiler.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_server.so
/usr/lib64/qt5/plugins/qmltooling/libqmldbg_tcp.so
/usr/lib64/qt5/qml
/usr/lib64/qt5/qml/Qt
/usr/lib64/qt5/qml/Qt/labs
/usr/lib64/qt5/qml/Qt/labs/folderlistmodel
/usr/lib64/qt5/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so
/usr/lib64/qt5/qml/Qt/labs/folderlistmodel/plugins.qmltypes
/usr/lib64/qt5/qml/Qt/labs/folderlistmodel/qmldir
/usr/lib64/qt5/qml/Qt/labs/qmlmodels
/usr/lib64/qt5/qml/Qt/labs/qmlmodels/liblabsmodelsplugin.so
/usr/lib64/qt5/qml/Qt/labs/qmlmodels/plugins.qmltypes
/usr/lib64/qt5/qml/Qt/labs/qmlmodels/qmldir
/usr/lib64/qt5/qml/Qt/labs/settings
/usr/lib64/qt5/qml/Qt/labs/settings/libqmlsettingsplugin.so
/usr/lib64/qt5/qml/Qt/labs/settings/plugins.qmltypes
/usr/lib64/qt5/qml/Qt/labs/settings/qmldir
/usr/lib64/qt5/qml/Qt/labs/sharedimage
/usr/lib64/qt5/qml/Qt/labs/sharedimage/libsharedimageplugin.so
/usr/lib64/qt5/qml/Qt/labs/sharedimage/plugins.qmltypes
/usr/lib64/qt5/qml/Qt/labs/sharedimage/qmldir
/usr/lib64/qt5/qml/Qt/labs/wavefrontmesh
/usr/lib64/qt5/qml/Qt/labs/wavefrontmesh/libqmlwavefrontmeshplugin.so
/usr/lib64/qt5/qml/Qt/labs/wavefrontmesh/plugins.qmltypes
/usr/lib64/qt5/qml/Qt/labs/wavefrontmesh/qmldir
/usr/lib64/qt5/qml/QtQml
/usr/lib64/qt5/qml/QtQml/Models.2
/usr/lib64/qt5/qml/QtQml/Models.2/libmodelsplugin.so
/usr/lib64/qt5/qml/QtQml/Models.2/plugins.qmltypes
/usr/lib64/qt5/qml/QtQml/Models.2/qmldir
/usr/lib64/qt5/qml/QtQml/StateMachine
/usr/lib64/qt5/qml/QtQml/StateMachine/libqtqmlstatemachine.so
/usr/lib64/qt5/qml/QtQml/StateMachine/plugins.qmltypes
/usr/lib64/qt5/qml/QtQml/StateMachine/qmldir
/usr/lib64/qt5/qml/QtQml/plugins.qmltypes
/usr/lib64/qt5/qml/QtQml/qmldir
/usr/lib64/qt5/qml/QtQuick
/usr/lib64/qt5/qml/QtQuick.2
/usr/lib64/qt5/qml/QtQuick.2/libqtquick2plugin.so
/usr/lib64/qt5/qml/QtQuick.2/plugins.qmltypes
/usr/lib64/qt5/qml/QtQuick.2/qmldir
/usr/lib64/qt5/qml/QtQuick/Layouts
/usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
/usr/lib64/qt5/qml/QtQuick/Layouts/plugins.qmltypes
/usr/lib64/qt5/qml/QtQuick/Layouts/qmldir
/usr/lib64/qt5/qml/QtQuick/LocalStorage
/usr/lib64/qt5/qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so
/usr/lib64/qt5/qml/QtQuick/LocalStorage/plugins.qmltypes
/usr/lib64/qt5/qml/QtQuick/LocalStorage/qmldir
/usr/lib64/qt5/qml/QtQuick/Particles.2
/usr/lib64/qt5/qml/QtQuick/Particles.2/libparticlesplugin.so
/usr/lib64/qt5/qml/QtQuick/Particles.2/plugins.qmltypes
/usr/lib64/qt5/qml/QtQuick/Particles.2/qmldir
/usr/lib64/qt5/qml/QtQuick/Shapes
/usr/lib64/qt5/qml/QtQuick/Shapes/libqmlshapesplugin.so
/usr/lib64/qt5/qml/QtQuick/Shapes/plugins.qmltypes
/usr/lib64/qt5/qml/QtQuick/Shapes/qmldir
/usr/lib64/qt5/qml/QtQuick/Window.2
/usr/lib64/qt5/qml/QtQuick/Window.2/libwindowplugin.so
/usr/lib64/qt5/qml/QtQuick/Window.2/plugins.qmltypes
/usr/lib64/qt5/qml/QtQuick/Window.2/qmldir
/usr/lib64/qt5/qml/QtTest
/usr/lib64/qt5/qml/QtTest/SignalSpy.qml
/usr/lib64/qt5/qml/QtTest/TestCase.qml
/usr/lib64/qt5/qml/QtTest/libqmltestplugin.so
/usr/lib64/qt5/qml/QtTest/plugins.qmltypes
/usr/lib64/qt5/qml/QtTest/qmldir
/usr/lib64/qt5/qml/QtTest/testlogger.js
/usr/lib64/qt5/qml/builtins.qmltypes
/usr/share/licenses/qt5-qtdeclarative
/usr/share/licenses/qt5-qtdeclarative/LICENSE.LGPL3

References

Summary

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