dpic command not found

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

Introduction

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

dpic: command not found

or when using sudo you get the following error message

sudo: dpic: command not found

Solutions to dpic: command not found

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

In Ubuntu dpic is provided by dpic package.

dpic is:

dpic accepts a tight subset of the pic drawing language accepted by GNU pic (sometimes named gpic) or AT&T pic, and emits lower-level drawing commands for insertion into LaTeX documents, for processing by the xfig or Inkscape drawing tools, or for direct display as encapsulated Postscript, PDF, or SVG. LaTeX-compatible output can contain arbitrary text for formatting. Commands to be passed through to the postprocessor (PSTricks, Tikz-pgf, etc.) can be included.

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

sudo apt-get -y install dpic

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

You can also use apt command to install dpic.

sudo apt -y install dpic

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

sudo aptitude install dpic

Summary

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