ccdiff command not found

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

Introduction

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

ccdiff: command not found

or when using sudo you get the following error message

sudo: ccdiff: command not found

Solutions to ccdiff: command not found

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

In Ubuntu ccdiff is provided by ccdiff package.

ccdiff is:

ccdiff is a colored diff that also colors inside changed lines.

All command-line tools that show the difference between two files fall short in showing minor changes visually useful. ccdiff tries to give the look and feel of diff --color or colordiff, but extending the display of colored output from colored deleted and added lines to colors for deleted and added characters within the changed lines.

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

sudo apt-get -y install ccdiff

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

You can also use apt command to install ccdiff.

sudo apt -y install ccdiff

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

sudo aptitude install ccdiff

Summary

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