sgml-spell-checker command not found

In this troubleshooting guide we learn how to fix sgml-spell-checker command not found error message

Introduction

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

sgml-spell-checker: command not found

or when using sudo you get the following error message

sudo: sgml-spell-checker: command not found

Solutions to sgml-spell-checker: command not found

How To Fix sgml-spell-checker: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sgml-spell-checker is provided by sgml-spell-checker package.

sgml-spell-checker is:

This package includes a couple of tools that you can use to automatically spell-check your SGML documents. One of the advantages of this tool over some other SGML-aware spell checkers is that it scans your documents in the form in which the SGML parser actually sees it, which means it is not line-based, system entities are resolved, marked sections are treated appropriately, etc.

Also, this tool can be made aware of particular DTDs, in the sense that it knows not to spell-check the content of elements that do not represent human-language text, such as in DocBook. An exclusion list for the DocBook DTD is included, others can be added trivially.

Home page: http://developer.postgresql.org/~petere/sgml-spell-checker/

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

sudo apt-get -y install sgml-spell-checker

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

You can also use apt command to install sgml-spell-checker.

sudo apt -y install sgml-spell-checker

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

sudo aptitude install sgml-spell-checker

Summary

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