Install dvidvi by entering the following commands in the terminal:
sudo apt update sudo apt install dvidvi
Description:
Manipulate .dvi files
Allows you to select, change the order, and/or shift the pages in a .dvi file. . This can for example be used to print an A5 booklet on A4 paper, in such a way that you can put a staple through the bundle. A shell script that does just that is provided.
Homepage: https://www.ctan.org/tex-archive/dviware/dvidvi
Version: 1.0-8.2
Section: universe/tex