How To Install adwaita-gtk2-theme on CentOS 7

In this tutorial we learn how to install adwaita-gtk2-theme on CentOS 7. adwaita-gtk2-theme is Adwaita gtk2 theme

Introduction

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

What is adwaita-gtk2-theme

The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets with a GNOME look and feel. The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets with a GNOME look and feel.

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

Install adwaita-gtk2-theme on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install adwaita-gtk2-theme

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

sudo dnf -y install adwaita-gtk2-theme

How To Uninstall adwaita-gtk2-theme on CentOS 7

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

sudo dnf remove adwaita-gtk2-theme

References

Summary

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