How To Install qt on Fedora 34

qt is Qt toolkit Qt toolkit

Introduction

In this tutorial we learn how to install qt on Fedora 34.

What is qt

Qt is a software toolkit for developing applications. This package contains base tools, like string, xml, and network handling. qt 1 4.8.7 60.fc34 x86_64 4.7 M qt-4.8.7-60.fc34.src.rpm fedora Qt toolkit http (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT Qt is a software toolkit for developing applications. This package contains base tools, like string, xml, and network handling.

We can use yum or dnf to install qt on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install qt.

Install qt on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install qt using dnf by running the following command:

sudo dnf -y install qt

Install qt on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install qt using yum by running the following command:

sudo yum -y install qt

How To Uninstall qt on Fedora 34

To uninstall only the qt package we can use the following command:

sudo dnf remove qt

qt Package Contents on Fedora 34

/etc/xdg/qtchooser
/etc/xdg/qtchooser/4-32.conf
/etc/xdg/qtchooser/4.conf
/etc/xdg/qtchooser/default.conf
/usr/bin/qdbus
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/a5fa22b4566b98e46b1ac14cdaf48996f54282
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/1ccafc322edc5925aeadbdecc255d964058913
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/e9b0bb643deaff331d92af874199410f89af9d
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/7f310e712bfa024807a20376782b0892b10ae2
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/0cd205ba56bc79cb623b5cae8a7a6bac5b04c1
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/5a78bf6f4f9e37f61b1b4545a420d6ffae579f
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/2d033729f74671934fc1cedb7a6a9287fc6bf3
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/fd655635c76d7e7fccee2f699b5067d3fadfdf
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/11227fe449d0392e5965f68f0122ff9bc26fe2
/usr/lib/.build-id/d6/11227fe449d0392e5965f68f0122ff9bc26fe2.1
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/a0e8331d211d50775d73a3eff269626f4a6c96
/usr/lib/libQtCore.so.4
/usr/lib/libQtCore.so.4.8
/usr/lib/libQtCore.so.4.8.7
/usr/lib/libQtDBus.so.4
/usr/lib/libQtDBus.so.4.8
/usr/lib/libQtDBus.so.4.8.7
/usr/lib/libQtNetwork.so.4
/usr/lib/libQtNetwork.so.4.8
/usr/lib/libQtNetwork.so.4.8.7
/usr/lib/libQtScript.so.4
/usr/lib/libQtScript.so.4.8
/usr/lib/libQtScript.so.4.8.7
/usr/lib/libQtSql.so.4
/usr/lib/libQtSql.so.4.8
/usr/lib/libQtSql.so.4.8.7
/usr/lib/libQtTest.so.4
/usr/lib/libQtTest.so.4.8
/usr/lib/libQtTest.so.4.8.7
/usr/lib/libQtXml.so.4
/usr/lib/libQtXml.so.4.8
/usr/lib/libQtXml.so.4.8.7
/usr/lib/libQtXmlPatterns.so.4
/usr/lib/libQtXmlPatterns.so.4.8
/usr/lib/libQtXmlPatterns.so.4.8.7
/usr/lib/qt4
/usr/lib/qt4/bin
/usr/lib/qt4/bin/qdbus
/usr/lib/qt4/phrasebooks
/usr/lib/qt4/phrasebooks/danish.qph
/usr/lib/qt4/phrasebooks/dutch.qph
/usr/lib/qt4/phrasebooks/finnish.qph
/usr/lib/qt4/phrasebooks/french.qph
/usr/lib/qt4/phrasebooks/german.qph
/usr/lib/qt4/phrasebooks/hungarian.qph
/usr/lib/qt4/phrasebooks/italian.qph
/usr/lib/qt4/phrasebooks/japanese.qph
/usr/lib/qt4/phrasebooks/norwegian.qph
/usr/lib/qt4/phrasebooks/polish.qph
/usr/lib/qt4/phrasebooks/russian.qph
/usr/lib/qt4/phrasebooks/spanish.qph
/usr/lib/qt4/phrasebooks/swedish.qph
/usr/lib/qt4/plugins
/usr/lib/qt4/plugins/crypto
/usr/lib/qt4/plugins/sqldrivers
/usr/lib/qt4/plugins/sqldrivers/libqsqlite.so
/usr/share/doc/qt
/usr/share/doc/qt/README
/usr/share/doc/qt4
/usr/share/doc/qt4/html
/usr/share/doc/qt4/qch
/usr/share/doc/qt4/src
/usr/share/licenses/qt
/usr/share/licenses/qt/LGPL_EXCEPTION.txt
/usr/share/licenses/qt/LICENSE.GPL3
/usr/share/licenses/qt/LICENSE.LGPL
/usr/share/qt4
/usr/share/qt4/translations
/usr/share/qt4/translations/qt_ar.qm
/usr/share/qt4/translations/qt_cs.qm
/usr/share/qt4/translations/qt_da.qm
/usr/share/qt4/translations/qt_de.qm
/usr/share/qt4/translations/qt_es.qm
/usr/share/qt4/translations/qt_eu.qm
/usr/share/qt4/translations/qt_fa.qm
/usr/share/qt4/translations/qt_fr.qm
/usr/share/qt4/translations/qt_gl.qm
/usr/share/qt4/translations/qt_he.qm
/usr/share/qt4/translations/qt_hu.qm
/usr/share/qt4/translations/qt_ja.qm
/usr/share/qt4/translations/qt_ko.qm
/usr/share/qt4/translations/qt_lt.qm
/usr/share/qt4/translations/qt_pl.qm
/usr/share/qt4/translations/qt_pt.qm
/usr/share/qt4/translations/qt_ru.qm
/usr/share/qt4/translations/qt_sk.qm
/usr/share/qt4/translations/qt_sl.qm
/usr/share/qt4/translations/qt_sv.qm
/usr/share/qt4/translations/qt_uk.qm
/usr/share/qt4/translations/qt_zh_CN.qm
/usr/share/qt4/translations/qt_zh_TW.qm
/etc/xdg/qtchooser
/etc/xdg/qtchooser/4-64.conf
/etc/xdg/qtchooser/4.conf
/etc/xdg/qtchooser/default.conf
/usr/bin/qdbus
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/813d6c3c76cd93c2dcb356769e2e6f00c69aec
/usr/lib/.build-id/25
/usr/lib/.build-id/25/7db16f2ebc767a465cf9ebedb35a533a2af25b
/usr/lib/.build-id/45
/usr/lib/.build-id/45/2b4664664e1f394b3bc8ad16a1767a44be42cb
/usr/lib/.build-id/66
/usr/lib/.build-id/66/3c210eb284ce715c36fccc78a254291eca6d41
/usr/lib/.build-id/67
/usr/lib/.build-id/67/e5a33f8043e1d9cd5730b86257b560b18c2532
/usr/lib/.build-id/67/e5a33f8043e1d9cd5730b86257b560b18c2532.1
/usr/lib/.build-id/89
/usr/lib/.build-id/89/f746345a58a2a989151638be550bfa0ee4365b
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/3cff53fc11f5711bf62d3a8b2d4732a743521e
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/be6c8fdb131e462b1f97b4610d3089fa25f2e4
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/937b2492598bac6035a4b4e6e6af488c9c1ce0
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/f4a4eba9db395c706b2d349982135b52bb55ba
/usr/lib64/libQtCore.so.4
/usr/lib64/libQtCore.so.4.8
/usr/lib64/libQtCore.so.4.8.7
/usr/lib64/libQtDBus.so.4
/usr/lib64/libQtDBus.so.4.8
/usr/lib64/libQtDBus.so.4.8.7
/usr/lib64/libQtNetwork.so.4
/usr/lib64/libQtNetwork.so.4.8
/usr/lib64/libQtNetwork.so.4.8.7
/usr/lib64/libQtScript.so.4
/usr/lib64/libQtScript.so.4.8
/usr/lib64/libQtScript.so.4.8.7
/usr/lib64/libQtSql.so.4
/usr/lib64/libQtSql.so.4.8
/usr/lib64/libQtSql.so.4.8.7
/usr/lib64/libQtTest.so.4
/usr/lib64/libQtTest.so.4.8
/usr/lib64/libQtTest.so.4.8.7
/usr/lib64/libQtXml.so.4
/usr/lib64/libQtXml.so.4.8
/usr/lib64/libQtXml.so.4.8.7
/usr/lib64/libQtXmlPatterns.so.4
/usr/lib64/libQtXmlPatterns.so.4.8
/usr/lib64/libQtXmlPatterns.so.4.8.7
/usr/lib64/qt4
/usr/lib64/qt4/bin
/usr/lib64/qt4/bin/qdbus
/usr/lib64/qt4/phrasebooks
/usr/lib64/qt4/phrasebooks/danish.qph
/usr/lib64/qt4/phrasebooks/dutch.qph
/usr/lib64/qt4/phrasebooks/finnish.qph
/usr/lib64/qt4/phrasebooks/french.qph
/usr/lib64/qt4/phrasebooks/german.qph
/usr/lib64/qt4/phrasebooks/hungarian.qph
/usr/lib64/qt4/phrasebooks/italian.qph
/usr/lib64/qt4/phrasebooks/japanese.qph
/usr/lib64/qt4/phrasebooks/norwegian.qph
/usr/lib64/qt4/phrasebooks/polish.qph
/usr/lib64/qt4/phrasebooks/russian.qph
/usr/lib64/qt4/phrasebooks/spanish.qph
/usr/lib64/qt4/phrasebooks/swedish.qph
/usr/lib64/qt4/plugins
/usr/lib64/qt4/plugins/crypto
/usr/lib64/qt4/plugins/sqldrivers
/usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
/usr/share/doc/qt
/usr/share/doc/qt/README
/usr/share/doc/qt4
/usr/share/doc/qt4/html
/usr/share/doc/qt4/qch
/usr/share/doc/qt4/src
/usr/share/licenses/qt
/usr/share/licenses/qt/LGPL_EXCEPTION.txt
/usr/share/licenses/qt/LICENSE.GPL3
/usr/share/licenses/qt/LICENSE.LGPL
/usr/share/qt4
/usr/share/qt4/translations
/usr/share/qt4/translations/qt_ar.qm
/usr/share/qt4/translations/qt_cs.qm
/usr/share/qt4/translations/qt_da.qm
/usr/share/qt4/translations/qt_de.qm
/usr/share/qt4/translations/qt_es.qm
/usr/share/qt4/translations/qt_eu.qm
/usr/share/qt4/translations/qt_fa.qm
/usr/share/qt4/translations/qt_fr.qm
/usr/share/qt4/translations/qt_gl.qm
/usr/share/qt4/translations/qt_he.qm
/usr/share/qt4/translations/qt_hu.qm
/usr/share/qt4/translations/qt_ja.qm
/usr/share/qt4/translations/qt_ko.qm
/usr/share/qt4/translations/qt_lt.qm
/usr/share/qt4/translations/qt_pl.qm
/usr/share/qt4/translations/qt_pt.qm
/usr/share/qt4/translations/qt_ru.qm
/usr/share/qt4/translations/qt_sk.qm
/usr/share/qt4/translations/qt_sl.qm
/usr/share/qt4/translations/qt_sv.qm
/usr/share/qt4/translations/qt_uk.qm
/usr/share/qt4/translations/qt_zh_CN.qm
/usr/share/qt4/translations/qt_zh_TW.qm

References

Summary

In this tutorial we learn how to install qt on Fedora 34 using yum and dnf.