[Tex/LaTex] XeLaTeX on centos 7 does not work

linuxtexmfxetex

I tried to compile some trivial LaTeX files with the shipped XeLaTeX on centos 7:

$ xelatex trivial.tex
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
 restricted \write18 enabled.

kpathsea: Running mktexfmt xelatex.fmt
/usr/bin/mktexfmt: line 395:
/usr/share/texlive/texmf/texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `xelatex.fmt'!
$ rpm -q texlive-xetex
texlive-xetex-svn26330.0.9997.5-32.el7.noarch
$ cat trivial.tex
\documentclass{article}

\title{Hello World!}

\begin{document}
\maketitle
\end{document}

Upon reading this I tried the following

TEXMF=/usr/share/texlive/texmf-dist xelatex trivial

but it did not help. How can I fix it?

Best Answer

I had to install the pseudo-package texlive-collection-xetex to make it work.

Here is the authoritative reference: TeXLive on Fedora

Related Question