How To Install oxygen-gtk2 on CentOS 7

In this tutorial we learn how to install oxygen-gtk2 on CentOS 7. oxygen-gtk2 is Oxygen GTK+2 theme

Introduction

In this tutorial we learn how to install oxygen-gtk2 on CentOS 7.

What is oxygen-gtk2

Oxygen-Gtk is a port of the default KDE widget theme (Oxygen), to gtk. It’s primary goal is to ensure visual consistency between gtk-based and qt-based applications running under KDE. A secondary objective is to also have a stand-alone nice looking gtk theme that would behave well on other Desktop Environments. Unlike other attempts made to port the KDE oxygen theme to gtk, this attempt does not depend on Qt (via some Qt to Gtk conversion engine), nor does render the widget appearance via hard-coded pixmaps, which otherwise breaks every time some setting is changed in KDE. Oxygen-Gtk is a port of the default KDE widget theme (Oxygen), to gtk. It’s primary goal is to ensure visual consistency between gtk-based and qt-based applications running under KDE. A secondary objective is to also have a stand-alone nice looking gtk theme that would behave well on other Desktop Environments. Unlike other attempts made to port the KDE oxygen theme to gtk, this attempt does not depend on Qt (via some Qt to Gtk conversion engine), nor does render the widget appearance via hard-coded pixmaps, which otherwise breaks every time some setting is changed in KDE.

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

Install oxygen-gtk2 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install oxygen-gtk2 using yum by running the following command:

sudo yum -y install oxygen-gtk2

Install oxygen-gtk2 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install oxygen-gtk2

How To Uninstall oxygen-gtk2 on CentOS 7

To uninstall only the oxygen-gtk2 package we can use the following command:

sudo dnf remove oxygen-gtk2

References

Summary

In this tutorial we learn how to install oxygen-gtk2 on CentOS 7 using yum and dnf.