dvi2dvi command not found

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

Introduction

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

dvi2dvi: command not found

or when using sudo you get the following error message

sudo: dvi2dvi: command not found

Solutions to dvi2dvi: command not found

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

In Ubuntu dvi2dvi is provided by dvi2dvi package.

dvi2dvi is:

dvi2dvi can:

  • expand virtual fonts in given DVI files,
  • change font names in given DVI files,
  • decompose 2-byte fonts into 1-byte subfonts. With dvi2dvi, you can convert DVI files generated by NTT jTeX to those of ASCII pTeX, and vice versa.

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

sudo apt-get -y install dvi2dvi

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

You can also use apt command to install dvi2dvi.

sudo apt -y install dvi2dvi

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

sudo aptitude install dvi2dvi

Summary

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