ttf2kotexfont command not found

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

Introduction

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

ttf2kotexfont: command not found

or when using sudo you get the following error message

sudo: ttf2kotexfont: command not found

Solutions to ttf2kotexfont: command not found

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

In Ubuntu ttf2kotexfont is provided by texlive-lang-korean package.

texlive-lang-korean is:

Support for Korean; additional packages in collection-langcjk.

This package includes the following CTAN packages:

baekmuk – Baekmuk Korean TrueType fonts

cjk-ko – Extension of the CJK package for Korean typesetting

kotex-oblivoir – A LaTeX document class for typesetting Korean documents

kotex-plain – Macros for typesetting Korean under Plain TeX

kotex-utf – Typeset Hangul, coded in UTF-8

kotex-utils – Utility scripts and support files for typesetting Korean

lshort-korean – Korean introduction to LaTeX

nanumtype1 – Type1 subfonts of Nanum Korean fonts

pmhanguljamo – Poor man’s Hangul Jamo input method

uhc – Fonts for the Korean language

unfonts-core – TrueType version of Un-fonts

unfonts-extra – TrueType version of Un-fonts

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

sudo apt-get -y install texlive-lang-korean

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

You can also use apt command to install texlive-lang-korean.

sudo apt -y install texlive-lang-korean

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

sudo aptitude install texlive-lang-korean

Summary

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