cslatex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cslatex: command not found
or when using sudo you get the following error message
sudo: cslatex: command not found
Solutions to cslatex: command not found
How To Fix cslatex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cslatex is provided by texlive-lang-czechslovak package.
texlive-lang-czechslovak is:
Support for Czech/Slovak.
This package includes the following CTAN packages:
babel-czech – Babel support for Czech
babel-slovak – Babel support for typesetting Slovak
cnbwp – Typeset working papers of the Czech National Bank
cs – Czech/Slovak-tuned Computer Modern fonts
csbulletin – LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj)
cslatex – LaTeX support for Czech/Slovak typesetting
csplain – Plain TeX multilanguage support
cstex – Support for Czech/Slovak languages
hyphen-czech – Czech hyphenation patterns.
hyphen-slovak – Slovak hyphenation patterns.
lshort-czech – Czech translation of the “Short Introduction to LaTeX2e”
lshort-slovak – Slovak introduction to LaTeX
texlive-cz – TeX Live manual (Czech/Slovak)
vlna – add ~ after non-syllabic preposition, for Czech/Slovak
To fix this problem, we can install more using the command below.
sudo apt-get -y install texlive-lang-czechslovak
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install texlive-lang-czechslovak.
sudo apt -y install texlive-lang-czechslovak
Or if you have aptitude installed you can use the following command.
sudo aptitude install texlive-lang-czechslovak
Summary
In this tutorial we learn how to fix cslatex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.