How To Install gtk-update-icon-cache on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install gtk-update-icon-cache on Rocky Linux 8.

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 Rocky Linux 8. 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

Install gtk-update-icon-cache on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

How To Uninstall gtk-update-icon-cache on Rocky Linux 8

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

sudo dnf remove gtk-update-icon-cache

gtk-update-icon-cache Package Contents on Rocky Linux 8

/usr/bin/gtk-update-icon-cache
/usr/lib/.build-id
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/652224df87b5c6dd577bc339c6fadaeb25af8a
/usr/share/licenses/gtk-update-icon-cache
/usr/share/licenses/gtk-update-icon-cache/COPYING
/usr/share/man/man1/gtk-update-icon-cache.1.gz

References

Summary

In this tutorial we learn how to install gtk-update-icon-cache on Rocky Linux 8 using yum and dnf.