Kompare is a free and open source compare and diff application for Linux. Using Kompare, you can compare differences on files or the contents of folders and finds the differences between source files to be viewed and merged. It comes with recursive compare and many diff formats, keyboard shortcuts, exclude a particular file pattern, change appearance and fonts and many more.
How to Install Kompare on Ubuntu
To install Kompare on your system, run below command in your terminal application (ctrl+alt+t).
sudo apt install kompare
After that run below command to start Kompare application.
kompare
Now you can easily compare any files and folders.
You can also uninstall it using below command.
sudo apt remove kompare
Install Kompare via Snap:
Run below Kompare snap install command. It will install the Kompare snap app.
sudo snap install kompare
Install Kompare via flatpak:
First install flatpak and flathub on your system and restart it after that installation. If you already have then skip it. Now run below kompare flatpak install command.
flatpak install flathub org.kde.kompare
After that open it using below command.
flatpak run org.kde.kompare
And you can also uninstall it using below commands.
flatpak uninstall org.kde.kompare
[OR]
sudo flatpak uninstall org.kde.kompare