KDiff3 is a free and open source file and folder diff and merge application for Linux. using KDiff3, you can compares and merges files or folders and also find differences line by line in any file. It comes with automatic merge, build-in editor, network transparency, Unicode and UTF-8 support, history merging, version control keyword and more.
Install KDiff3 on Ubuntu Linux
KDiff3 is available from the default Ubuntu repository and as a flatpak package file from the remove flathub. Open the terminal app (ctrl+alt+t) and run below command to install the latest version of KDiff3 app on your system.
sudo apt install kdiff3
After the installation of KDiff3, you can open it from the show applications menu or via below command.
kdiff3
And uninstall KDiff3 using below command.
sudo apt remove kdiff3
Install KDiff3 via Flatpak
First install flatpak and flathub on your system and restart it after the installation.
Open the terminal app and run below KDiff3 software flatpak installation command. It will install the latest version of KDiff3 on your system.
flatpak install flathub org.kde.kdiff3
After that open KDiff3 app using below command.
flatpak run org.kde.kdiff3
And uninstall KDiff3 using below command.
sudo flatpak uninstall org.kde.kdiff3
That’s it.