How To Install gtk-update-icon-cache on CentOS 7

In this tutorial we learn how to install gtk-update-icon-cache on CentOS 7. gtk-update-icon-cache is Icon theme caching utility

Introduction

In this tutorial we learn how to install gtk-update-icon-cache on CentOS 7.

What is gtk-update-icon-cache

GTK+ can use the cache files created by gtk-update-icon-cache to avoid a lot of system call and disk seek overhead when the application starts. Since the format of the cache files allows them to be mmap()ed shared between multiple applications, the overall memory consumption is reduced as well.

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

Install gtk-update-icon-cache on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gtk-update-icon-cache using yum by running the following command:

sudo yum -y install gtk-update-icon-cache

Install gtk-update-icon-cache 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 gtk-update-icon-cache using dnf by running the following command:

sudo dnf -y install gtk-update-icon-cache

How To Uninstall gtk-update-icon-cache on CentOS 7

To uninstall only the gtk-update-icon-cache package we can use the following command:

sudo dnf remove gtk-update-icon-cache

References

Summary

In this tutorial we learn how to install gtk-update-icon-cache on CentOS 7 using yum and dnf.