lintex command not found

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

Introduction

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

lintex: command not found

or when using sudo you get the following error message

sudo: lintex: command not found

Solutions to lintex: command not found

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

In Ubuntu lintex is provided by lintex package.

lintex is:

Removes unneeded files after a (La)TeX run: .aux, .log, .dvi, etc, if their timestamp is more recent than the TeX file’s. Also removes the backup files created by your text editor. This keeps a directory containing multiple (La)TeX documents from becoming unmanageable.

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

sudo apt-get -y install lintex

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

You can also use apt command to install lintex.

sudo apt -y install lintex

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

sudo aptitude install lintex

Summary

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