How To Install qqc2-desktop-style on AlmaLinux 8

In this tutorial we learn how to install qqc2-desktop-style in AlmaLinux 8. qqc2-desktop-style is QtQuickControls2 style for consistency between QWidget and QML apps

Introduction

In this tutorial we learn how to install qqc2-desktop-style on AlmaLinux 8.

What is qqc2-desktop-style

This is a style for QtQuickControls 2 that uses QWidget’s QStyle for painting, making possible to achieve an higher degree of consistency between QWidget-based and QML-based apps.

We can use yum or dnf to install qqc2-desktop-style on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install qqc2-desktop-style.

Install qqc2-desktop-style on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install qqc2-desktop-style using dnf by running the following command:

sudo dnf -y install qqc2-desktop-style

Install qqc2-desktop-style on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install qqc2-desktop-style using yum by running the following command:

sudo yum -y install qqc2-desktop-style

How To Uninstall qqc2-desktop-style on AlmaLinux 8

To uninstall only the qqc2-desktop-style package we can use the following command:

sudo dnf remove qqc2-desktop-style

References

Summary

In this tutorial we learn how to install qqc2-desktop-style on AlmaLinux 8 using yum and dnf.