debiandoc2texinfo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
debiandoc2texinfo: command not found
or when using sudo you get the following error message
sudo: debiandoc2texinfo: command not found
Solutions to debiandoc2texinfo: command not found
How To Fix debiandoc2texinfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu debiandoc2texinfo is provided by debiandoc-sgml package.
debiandoc-sgml is:
This is an SGML-based documentation formatting package used for the Debian manuals. It reads markup files and produces HTML, LaTeX, DVI (via LaTeX), PostScript (via LaTeX/DVI), PDF (via LaTeX), Texinfo, Info (via Texinfo), DebianDoc SGML, DocBook XML, plain text (with overstrikes a la troff as well as without) files.
The LaTeX based output needs the texlive, texlive-latex-extra and texlive-lang-all packages. In addition to this, Chinese and Japanese need latex-cjk-all and corresponding font packages.
The Texinfo based output needs the texinfo package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install debiandoc-sgml
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install debiandoc-sgml.
sudo apt -y install debiandoc-sgml
Or if you have aptitude installed you can use the following command.
sudo aptitude install debiandoc-sgml
Summary
In this tutorial we learn how to fix debiandoc2texinfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.