sgmlsasp command not found

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

Introduction

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

sgmlsasp: command not found

or when using sudo you get the following error message

sudo: sgmlsasp: command not found

Solutions to sgmlsasp: command not found

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

In Ubuntu sgmlsasp is provided by linuxdoc-tools package.

linuxdoc-tools is:

LinuxDoc sgml is a highly configurable text format for writing documentation, something like html only it’s simpler and can be converted to various other formats, including html for websites. You write a LinuxDoc document using any text editor such as vim. Then you use linuxdoc-tools to convert it to html, rtf, plain-text (install linuxdoc-tools-text), info (install linuxdoc-tools-info), LaTeX, dvi or postscript (install linuxdoc-tools-latex). The sgmltools-lite package can convert LinuxDoc to DocBook format.

LinuxDoc can automatically create a table of contents. It’s easier to write and read than DocBook since it allows one to omit most closing tags while paragraphs are separated by just blank lines.

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

sudo apt-get -y install linuxdoc-tools

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

You can also use apt command to install linuxdoc-tools.

sudo apt -y install linuxdoc-tools

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

sudo aptitude install linuxdoc-tools

Summary

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