icdiff command not found

In this troubleshooting guide we learn how to fix icdiff command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

icdiff: command not found

or when using sudo you get the following error message

sudo: icdiff: command not found

Solutions to icdiff: command not found

How To Fix icdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu icdiff is provided by icdiff package.

icdiff is:

By highlighting changes, icdiff can show you the differences between similar files without getting in the way. This is especially helpful for identifying and understanding small changes within existing lines. Instead of trying to be a diff replacement for all circumstances, the goal of icdiff is to be a tool you can reach for to get a better picture of what changed when it’s not immediately obvious from diff.

To fix this problem, we can install more using the command below.

sudo apt-get -y install icdiff

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install icdiff.

sudo apt -y install icdiff

Or if you have aptitude installed you can use the following command.

sudo aptitude install icdiff

Summary

In this tutorial we learn how to fix icdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.