dvigif command not found

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

Introduction

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

dvigif: command not found

or when using sudo you get the following error message

sudo: dvigif: command not found

Solutions to dvigif: command not found

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

In Ubuntu dvigif is provided by dvipng package.

dvipng is:

dvipng makes PNG graphics from DVI files as obtained from TeX and its relatives. It is intended to produce anti-aliased screen-resolution images as fast as is possible. This makes dvipng suitable for generating large amounts of images on-the-fly.

dvipng does not read the postamble, so it can be started before TeX finishes. It can read options interactively through stdin, and all options are usable. One can even change the input file through this interface.

dvipng supports PK, VF, PostScript Type1, and TrueType fonts, color specials and simple PostScript inclusion specials.

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

sudo apt-get -y install dvipng

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

You can also use apt command to install dvipng.

sudo apt -y install dvipng

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

sudo aptitude install dvipng

Summary

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