chkweb command not found
In this troubleshooting guide we learn how to fix chkweb command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
chkweb: command not found
or when using sudo you get the following error message
sudo: chkweb: command not found
Solutions to chkweb: command not found
How To Fix chkweb: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu chkweb is provided by chktex package.
chktex is:
ChkTeX finds typographic errors in LaTeX documents:
- Supports over 40 warnings.
- Supports
\input'' command; both TeX and LaTeX version. Actually includes the files.
TEXINPUTS’’-equivalent search path. - Intelligent warning/error handling. The user may promote/mute warnings to suit his preferences. You may also mute warnings in the header of a file; thus killing much unwanted garbage.
- Supports both LaTeX 2.09 and LaTeX2e.
- Flexible output handling. Has some predefined formats and lets the
user specify his own format. Uses a
printf()'' similar syntax.
lacheck’’ compatible mode included for interfacing with the AUC-TeX Emacs mode.
To fix this problem, we can install more using the command below.
sudo apt-get -y install chktex
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install chktex.
sudo apt -y install chktex
Or if you have aptitude installed you can use the following command.
sudo aptitude install chktex
Summary
In this tutorial we learn how to fix chkweb command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.