utf8mex command not found

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

Introduction

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

utf8mex: command not found

or when using sudo you get the following error message

sudo: utf8mex: command not found

Solutions to utf8mex: command not found

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

In Ubuntu utf8mex is provided by texlive-lang-polish package.

texlive-lang-polish is:

Support for Polish.

This package includes the following CTAN packages:

babel-polish – Babel support for Polish

bredzenie – A Polish version of “lorem ipsum…” in the form of a LaTeX package

cc-pl – Polish extension of Computer Concrete fonts

gustlib – plain macros for much core and extra functionality, from GUST

gustprog – utility programs for Polish users of TeX

hyphen-polish – Polish hyphenation patterns.

lshort-polish – Introduction to LaTeX in Polish

mex – Polish formats for TeX

mwcls – Polish-oriented document classes

pl – Polish extension of Computer Modern fonts

polski – Typeset Polish documents with LaTeX and Polish fonts

przechlewski-book – Examples from Przechlewski’s LaTeX book

qpxqtx – Polish macros and fonts supporting Pagella/pxfonts and Termes/txfonts

tap – TeX macros for typesetting complex tables

tex-virtual-academy-pl – TeX usage web pages, in Polish

texlive-pl – TeX Live manual (Polish)

utf8mex – Tools to produce formats that read Polish language input

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

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

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

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

sudo apt -y install texlive-lang-polish

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

sudo aptitude install texlive-lang-polish

Summary

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