lacheck command not found

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

Introduction

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

lacheck: command not found

or when using sudo you get the following error message

sudo: lacheck: command not found

Solutions to lacheck: command not found

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

In Ubuntu lacheck is provided by lacheck package.

lacheck is:

LaCheck is a simple syntax checker for LaTex that is based on a single-pass lexical scanner. This makes clear that there are a lot of LaTeX problems this program cannot find, although it will find most simple mistakes. Complex macro packages may, however, make it completely unusable.

This program was bundled with AUCTeX once upon a time and is best known from there.

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

sudo apt-get -y install lacheck

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

You can also use apt command to install lacheck.

sudo apt -y install lacheck

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

sudo aptitude install lacheck

Summary

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