kdiff3 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
kdiff3: command not found
or when using sudo you get the following error message
sudo: kdiff3: command not found
Solutions to kdiff3: command not found
How To Fix kdiff3: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kdiff3 is provided by kdiff3 package.
kdiff3 is:
KDiff3 compares two or three input files and shows the differences line by line and character by character. It provides an automatic merge facility and an integrated editor for comfortable solving of merge conflicts. KDiff3 allows recursive directory comparison and merging as well. KDiff3 also has KIO support, so it can access to remote files and compressed archives.
To fix this problem, we can install more using the command below.
sudo apt-get -y install kdiff3
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install kdiff3.
sudo apt -y install kdiff3
Or if you have aptitude installed you can use the following command.
sudo aptitude install kdiff3
Summary
In this tutorial we learn how to fix kdiff3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.