lprdvi command not found

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

Introduction

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

lprdvi: command not found

or when using sudo you get the following error message

sudo: lprdvi: command not found

Solutions to lprdvi: command not found

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

In Ubuntu lprdvi is provided by dvi2ps package.

dvi2ps is:

dvi2ps is another converter of DVI file to PostScript file. dvi2ps can handle dvi files of NTT JTeX, MulTeX and ASCII pTeX.

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

sudo apt-get -y install dvi2ps

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

You can also use apt command to install dvi2ps.

sudo apt -y install dvi2ps

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

sudo aptitude install dvi2ps

Summary

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