gifdiff command not found

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

Introduction

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

gifdiff: command not found

or when using sudo you get the following error message

sudo: gifdiff: command not found

Solutions to gifdiff: command not found

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

In Ubuntu gifdiff is provided by gifsicle package.

gifsicle is:

This is a tool for manipulating GIF image files. It has good support for transparency and colormap manipulation, simple image transformations (cropping, flipping), and creating, deconstructing, and editing GIF animations, which it can also optimize for space.

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

sudo apt-get -y install gifsicle

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

You can also use apt command to install gifsicle.

sudo apt -y install gifsicle

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

sudo aptitude install gifsicle

Summary

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