tgif command not found

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

Introduction

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

tgif: command not found

or when using sudo you get the following error message

sudo: tgif: command not found

Solutions to tgif: command not found

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

In Ubuntu tgif is provided by tgif package.

tgif is:

Tgif (originally the “Tangram Graphic Interface Facility”) is a classic drawing program for 2D vector graphics. Image objects can be hierarchically constructed out of primitives such as polygons, text, and splines (though the splines Tgif draws are not Bézier curves).

It natively supports PostScript formats suitable for LaTeX, as well as X11 bitmap or (version 1) pixmap formats. Other vector and raster image formats such as SVG and PNG can be handled via filters.

Tgif stores drawings as .obj files and individual building-block objects as .sym files, both in Prolog-compatible fact file format.

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

sudo apt-get -y install tgif

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

You can also use apt command to install tgif.

sudo apt -y install tgif

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

sudo aptitude install tgif

Summary

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