How To Install qt5ct on CentOS 8

qt5ct is Qt5 Configuration Tool

Introduction

In this tutorial we learn how to install qt5ct on CentOS 8.

What is qt5ct

qt5ct allows users to configure Qt5 settings (theme, font, icons, etc.) under DE/WM without Qt integration.

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

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

sudo dnf -y install qt5ct

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

sudo yum -y install qt5ct

How To Uninstall qt5ct on CentOS 8

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

sudo dnf remove qt5ct

qt5ct Package Contents on CentOS 8

/usr/bin/qt5ct
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/f3a57eed7024c18292401b69491ac4de1ebb62
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/314b3a00cd7673ce1e5ffc76650eb7ec62f613
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/930bd0f119825de14add13ed6182339299fe7d
/usr/lib64/qt5/plugins/platformthemes/libqt5ct.so
/usr/lib64/qt5/plugins/styles/libqt5ct-style.so
/usr/share/applications/qt5ct.desktop
/usr/share/doc/qt5ct
/usr/share/doc/qt5ct/AUTHORS
/usr/share/doc/qt5ct/ChangeLog
/usr/share/doc/qt5ct/README
/usr/share/licenses/qt5ct
/usr/share/licenses/qt5ct/COPYING
/usr/share/qt5ct/colors
/usr/share/qt5ct/colors/airy.conf
/usr/share/qt5ct/colors/darker.conf
/usr/share/qt5ct/colors/dusk.conf
/usr/share/qt5ct/colors/sand.conf
/usr/share/qt5ct/colors/simple.conf
/usr/share/qt5ct/colors/waves.conf
/usr/share/qt5ct/qss
/usr/share/qt5ct/qss/fusion-fixes.qss
/usr/share/qt5ct/qss/scrollbar-simple.qss
/usr/share/qt5ct/qss/sliders-simple.qss
/usr/share/qt5ct/qss/tooltip-simple.qss
/usr/share/qt5ct/qss/traynotification-simple.qss
/usr/share/qt5ct/translations
/usr/share/qt5ct/translations/qt5ct_ar.qm
/usr/share/qt5ct/translations/qt5ct_bg.qm
/usr/share/qt5ct/translations/qt5ct_ca.qm
/usr/share/qt5ct/translations/qt5ct_cs.qm
/usr/share/qt5ct/translations/qt5ct_da.qm
/usr/share/qt5ct/translations/qt5ct_de.qm
/usr/share/qt5ct/translations/qt5ct_el.qm
/usr/share/qt5ct/translations/qt5ct_en.qm
/usr/share/qt5ct/translations/qt5ct_es.qm
/usr/share/qt5ct/translations/qt5ct_es_ES.qm
/usr/share/qt5ct/translations/qt5ct_fi.qm
/usr/share/qt5ct/translations/qt5ct_fr.qm
/usr/share/qt5ct/translations/qt5ct_gl_ES.qm
/usr/share/qt5ct/translations/qt5ct_he.qm
/usr/share/qt5ct/translations/qt5ct_hu.qm
/usr/share/qt5ct/translations/qt5ct_it.qm
/usr/share/qt5ct/translations/qt5ct_it_IT.qm
/usr/share/qt5ct/translations/qt5ct_ja.qm
/usr/share/qt5ct/translations/qt5ct_kk.qm
/usr/share/qt5ct/translations/qt5ct_lt.qm
/usr/share/qt5ct/translations/qt5ct_nl.qm
/usr/share/qt5ct/translations/qt5ct_nl_NL.qm
/usr/share/qt5ct/translations/qt5ct_pl.qm
/usr/share/qt5ct/translations/qt5ct_pt.qm
/usr/share/qt5ct/translations/qt5ct_pt_BR.qm
/usr/share/qt5ct/translations/qt5ct_ru.qm
/usr/share/qt5ct/translations/qt5ct_sk.qm
/usr/share/qt5ct/translations/qt5ct_sr.qm
/usr/share/qt5ct/translations/qt5ct_sr_BA.qm
/usr/share/qt5ct/translations/qt5ct_sr_RS.qm
/usr/share/qt5ct/translations/qt5ct_tr.qm
/usr/share/qt5ct/translations/qt5ct_uk.qm
/usr/share/qt5ct/translations/qt5ct_uk_UA.qm
/usr/share/qt5ct/translations/qt5ct_zh_CN.qm
/usr/share/qt5ct/translations/qt5ct_zh_TW.qm

References

Summary

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