qt5ct command not found

In this troubleshooting guide we learn how to fix qt5ct command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

qt5ct: command not found

or when using sudo you get the following error message

sudo: qt5ct: command not found

Solutions to qt5ct: command not found

How To Fix qt5ct: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu qt5ct is provided by qt5ct package.

qt5ct is:

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

Qt5ct will only be active on environments other than Plasma. Default configuration have switch to disable running on Plasma.

Qt5ct could use qt5 gtk theme, KDE breeze theme, the fusion theme, QtCurve theme and many more. Each style could be customized further by changing the color schema.

To fix this problem, we can install more using the command below.

sudo apt-get -y install qt5ct

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install qt5ct.

sudo apt -y install qt5ct

Or if you have aptitude installed you can use the following command.

sudo aptitude install qt5ct

Summary

In this tutorial we learn how to fix qt5ct command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.