How To Install libkomparediff2 on Rocky Linux 8

In this tutorial we learn how to install libkomparediff2 on Rocky Linux 8. libkomparediff2 is Library to compare files and strings

Introduction

In this tutorial we learn how to install libkomparediff2 on Rocky Linux 8.

What is libkomparediff2

A shared library to compare files and strings using KDE Frameworks 5 and GNU diff, used in Kompare and KDevelop.

We can use yum or dnf to install libkomparediff2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libkomparediff2.

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

sudo dnf -y install libkomparediff2

Install libkomparediff2 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 libkomparediff2 using yum by running the following command:

sudo yum -y install libkomparediff2

How To Uninstall libkomparediff2 on Rocky Linux 8

To uninstall only the libkomparediff2 package we can use the following command:

sudo dnf remove libkomparediff2

libkomparediff2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/04a82fae77719d1187614d0e2d797e7b4f3272
/usr/lib64/libkomparediff2.so.5
/usr/lib64/libkomparediff2.so.5.2
/usr/share/licenses/libkomparediff2
/usr/share/licenses/libkomparediff2/COPYING
/usr/share/licenses/libkomparediff2/COPYING-CMAKE-SCRIPTS
/usr/share/licenses/libkomparediff2/COPYING.GPL2
/usr/share/licenses/libkomparediff2/COPYING.GPL3
/usr/share/licenses/libkomparediff2/COPYING.LGPL2
/usr/share/licenses/libkomparediff2/COPYING.LGPL2.1
/usr/share/licenses/libkomparediff2/COPYING.LGPL3
/usr/share/locale/ar/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/bg/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/bs/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ca/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/cs/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/da/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/de/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/el/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/en_GB/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/eo/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/es/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/et/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/eu/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/fa/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/fi/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/fr/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ga/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/gl/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/hi/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/hr/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/hu/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/is/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/it/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ja/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/kk/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/km/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ko/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/lt/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/lv/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/mr/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/nb/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/nds/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/nl/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/nn/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/pa/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/pl/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/pt/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ro/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ru/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/sk/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/sl/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/sr/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/sv/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/tr/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/ug/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/uk/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libkomparediff2.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libkomparediff2.mo

References

Summary

In this tutorial we learn how to install libkomparediff2 on Rocky Linux 8 using yum and dnf.