[Tex/LaTex] Package fontenc Error: Encoding file `eu2enc.def’ not found

errorstexmakerUbuntuxetex

I got this error while running my tex file in XeLaTeX.

For recovering this i install fonts by running following code :

sudo apt-get install texlive-full
sudo apt-get install texlive-fonts-recommended

But the same error after installing.

The error message is :

! Package fontenc Error: Encoding file `eu2enc.def' not found.
(fontenc) You might have misspelt the name of the encoding.
See the fontenc package documentation for explanation.
Type H <return> for immediate help.

Using App : TeXMaker
OS        : Ubuntu 14.04 LTS

Best Answer

Make sure the package eu2enc.def is installed. In Ubuntu, it is part of the texlive-xetex package. Otherwise, you can install it using the texlive manager:

tlmgr install euenc

You could also try to install the package manually although I would not recommend it. The sources can be found here.