How To Install kompare on Rocky Linux 8

In this tutorial we learn how to install kompare on Rocky Linux 8. kompare is Diff tool

Introduction

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

What is kompare

Tool to visualize changes between two versions of a file

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

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

sudo dnf -y install kompare

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

sudo yum -y install kompare

How To Uninstall kompare on Rocky Linux 8

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

sudo dnf remove kompare

kompare Package Contents on Rocky Linux 8

/usr/bin/kompare
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/79a6afeb918ba5f6e7a85fc80ea74e1b77151f
/usr/share/applications/org.kde.kompare.desktop
/usr/share/doc/HTML/ca/kompare
/usr/share/doc/HTML/ca/kompare/dock.png
/usr/share/doc/HTML/ca/kompare/index.cache.bz2
/usr/share/doc/HTML/ca/kompare/index.docbook
/usr/share/doc/HTML/ca/kompare/settings-diff1.png
/usr/share/doc/HTML/ca/kompare/settings-diff2.png
/usr/share/doc/HTML/ca/kompare/settings-diff3.png
/usr/share/doc/HTML/ca/kompare/settings-diff4.png
/usr/share/doc/HTML/ca/kompare/settings-view1.png
/usr/share/doc/HTML/ca/kompare/settings-view2.png
/usr/share/doc/HTML/ca/kompare/undock.png
/usr/share/doc/HTML/de/kompare
/usr/share/doc/HTML/de/kompare/index.cache.bz2
/usr/share/doc/HTML/de/kompare/index.docbook
/usr/share/doc/HTML/en/kompare
/usr/share/doc/HTML/en/kompare/dock.png
/usr/share/doc/HTML/en/kompare/index.cache.bz2
/usr/share/doc/HTML/en/kompare/index.docbook
/usr/share/doc/HTML/en/kompare/settings-diff1.png
/usr/share/doc/HTML/en/kompare/settings-diff2.png
/usr/share/doc/HTML/en/kompare/settings-diff3.png
/usr/share/doc/HTML/en/kompare/settings-diff4.png
/usr/share/doc/HTML/en/kompare/settings-view1.png
/usr/share/doc/HTML/en/kompare/settings-view2.png
/usr/share/doc/HTML/en/kompare/undock.png
/usr/share/doc/HTML/es/kompare
/usr/share/doc/HTML/es/kompare/index.cache.bz2
/usr/share/doc/HTML/es/kompare/index.docbook
/usr/share/doc/HTML/et/kompare
/usr/share/doc/HTML/et/kompare/index.cache.bz2
/usr/share/doc/HTML/et/kompare/index.docbook
/usr/share/doc/HTML/it/kompare
/usr/share/doc/HTML/it/kompare/index.cache.bz2
/usr/share/doc/HTML/it/kompare/index.docbook
/usr/share/doc/HTML/nl/kompare
/usr/share/doc/HTML/nl/kompare/index.cache.bz2
/usr/share/doc/HTML/nl/kompare/index.docbook
/usr/share/doc/HTML/pt/kompare
/usr/share/doc/HTML/pt/kompare/index.cache.bz2
/usr/share/doc/HTML/pt/kompare/index.docbook
/usr/share/doc/HTML/pt_BR/kompare
/usr/share/doc/HTML/pt_BR/kompare/index.cache.bz2
/usr/share/doc/HTML/pt_BR/kompare/index.docbook
/usr/share/doc/HTML/sv/kompare
/usr/share/doc/HTML/sv/kompare/index.cache.bz2
/usr/share/doc/HTML/sv/kompare/index.docbook
/usr/share/doc/HTML/sv/kompare/settings-diff1.png
/usr/share/doc/HTML/sv/kompare/settings-diff2.png
/usr/share/doc/HTML/sv/kompare/settings-diff3.png
/usr/share/doc/HTML/sv/kompare/settings-diff4.png
/usr/share/doc/HTML/sv/kompare/settings-view1.png
/usr/share/doc/HTML/sv/kompare/settings-view2.png
/usr/share/doc/HTML/uk/kompare
/usr/share/doc/HTML/uk/kompare/index.cache.bz2
/usr/share/doc/HTML/uk/kompare/index.docbook
/usr/share/doc/HTML/uk/kompare/settings-diff1.png
/usr/share/doc/HTML/uk/kompare/settings-diff2.png
/usr/share/doc/HTML/uk/kompare/settings-diff3.png
/usr/share/doc/HTML/uk/kompare/settings-diff4.png
/usr/share/doc/HTML/uk/kompare/settings-view1.png
/usr/share/doc/HTML/uk/kompare/settings-view2.png
/usr/share/doc/kompare
/usr/share/doc/kompare/README
/usr/share/icons/hicolor/128x128/apps/kompare.png
/usr/share/icons/hicolor/16x16/apps/kompare.png
/usr/share/icons/hicolor/22x22/apps/kompare.png
/usr/share/icons/hicolor/32x32/apps/kompare.png
/usr/share/icons/hicolor/48x48/apps/kompare.png
/usr/share/icons/hicolor/scalable/apps/kompare.svgz
/usr/share/kservices5/ServiceMenus/kompare.desktop
/usr/share/kservices5/komparenavtreepart.desktop
/usr/share/kservices5/komparepart.desktop
/usr/share/kservicetypes5/komparenavigationpart.desktop
/usr/share/kservicetypes5/kompareviewpart.desktop
/usr/share/licenses/kompare
/usr/share/licenses/kompare/COPYING
/usr/share/licenses/kompare/COPYING.DOC
/usr/share/locale/ar/LC_MESSAGES/kompare.mo
/usr/share/locale/bg/LC_MESSAGES/kompare.mo
/usr/share/locale/bs/LC_MESSAGES/kompare.mo
/usr/share/locale/ca/LC_MESSAGES/kompare.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/kompare.mo
/usr/share/locale/cs/LC_MESSAGES/kompare.mo
/usr/share/locale/da/LC_MESSAGES/kompare.mo
/usr/share/locale/de/LC_MESSAGES/kompare.mo
/usr/share/locale/el/LC_MESSAGES/kompare.mo
/usr/share/locale/en_GB/LC_MESSAGES/kompare.mo
/usr/share/locale/eo/LC_MESSAGES/kompare.mo
/usr/share/locale/es/LC_MESSAGES/kompare.mo
/usr/share/locale/et/LC_MESSAGES/kompare.mo
/usr/share/locale/eu/LC_MESSAGES/kompare.mo
/usr/share/locale/fa/LC_MESSAGES/kompare.mo
/usr/share/locale/fi/LC_MESSAGES/kompare.mo
/usr/share/locale/fr/LC_MESSAGES/kompare.mo
/usr/share/locale/ga/LC_MESSAGES/kompare.mo
/usr/share/locale/gl/LC_MESSAGES/kompare.mo
/usr/share/locale/hi/LC_MESSAGES/kompare.mo
/usr/share/locale/hr/LC_MESSAGES/kompare.mo
/usr/share/locale/hu/LC_MESSAGES/kompare.mo
/usr/share/locale/is/LC_MESSAGES/kompare.mo
/usr/share/locale/it/LC_MESSAGES/kompare.mo
/usr/share/locale/ja/LC_MESSAGES/kompare.mo
/usr/share/locale/kk/LC_MESSAGES/kompare.mo
/usr/share/locale/km/LC_MESSAGES/kompare.mo
/usr/share/locale/ko/LC_MESSAGES/kompare.mo
/usr/share/locale/lt/LC_MESSAGES/kompare.mo
/usr/share/locale/lv/LC_MESSAGES/kompare.mo
/usr/share/locale/mr/LC_MESSAGES/kompare.mo
/usr/share/locale/nb/LC_MESSAGES/kompare.mo
/usr/share/locale/nds/LC_MESSAGES/kompare.mo
/usr/share/locale/nl/LC_MESSAGES/kompare.mo
/usr/share/locale/nn/LC_MESSAGES/kompare.mo
/usr/share/locale/pa/LC_MESSAGES/kompare.mo
/usr/share/locale/pl/LC_MESSAGES/kompare.mo
/usr/share/locale/pt/LC_MESSAGES/kompare.mo
/usr/share/locale/pt_BR/LC_MESSAGES/kompare.mo
/usr/share/locale/ro/LC_MESSAGES/kompare.mo
/usr/share/locale/ru/LC_MESSAGES/kompare.mo
/usr/share/locale/sk/LC_MESSAGES/kompare.mo
/usr/share/locale/sl/LC_MESSAGES/kompare.mo
/usr/share/locale/sr/LC_MESSAGES/kompare.mo
/usr/share/locale/sv/LC_MESSAGES/kompare.mo
/usr/share/locale/tr/LC_MESSAGES/kompare.mo
/usr/share/locale/ug/LC_MESSAGES/kompare.mo
/usr/share/locale/uk/LC_MESSAGES/kompare.mo
/usr/share/locale/zh_CN/LC_MESSAGES/kompare.mo
/usr/share/locale/zh_TW/LC_MESSAGES/kompare.mo
/usr/share/metainfo/org.kde.kompare.appdata.xml

References

Summary

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