cjk-gs-integrate command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cjk-gs-integrate: command not found
or when using sudo you get the following error message
sudo: cjk-gs-integrate: command not found
Solutions to cjk-gs-integrate: command not found
How To Fix cjk-gs-integrate: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cjk-gs-integrate is provided by texlive-lang-cjk package.
texlive-lang-cjk is:
Packages supporting a combination of Chinese, Japanese, Korean, including macros, fonts, documentation. Also Thai in the c90 encoding, since there is some overlap in those fonts; standard Thai support is in collection-langother. Additional packages for CJK are in their individual language collections.
This package includes the following CTAN packages:
c90 – c90 font encoding for Thai
cjk-gs-integrate – Tools to integrate CJK fonts into Ghostscript
cjkpunct – Adjust locations and kerning of CJK punctuation marks
fixjfm – Fix JFM (for *pTeX)
garuda-c90 – TeX support (from CJK) for the garuda font
jfmutil – Utility to process pTeX-extended TFM and VF
norasi-c90 – TeX support (from CJK) for the norasi font
pxtatescale – Patch to graphics driver for scaling in vertical direction of pTeX
xcjk2uni – Convert CJK characters to Unicode, in pdfTeX
zitie – Create CJK character calligraphy practicing sheets
zxjafont – Set up Japanese font families for XeLaTeX
To fix this problem, we can install more using the command below.
sudo apt-get -y install texlive-lang-cjk
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install texlive-lang-cjk.
sudo apt -y install texlive-lang-cjk
Or if you have aptitude installed you can use the following command.
sudo aptitude install texlive-lang-cjk
Summary
In this tutorial we learn how to fix cjk-gs-integrate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.