[Tex/LaTex] I can’t find the format file xelatex.fmt

linuxxetex

I am a newbie to TeX.
I want to use XeLaTeX for my CV, but when I try to compile with Texmaker. a get an error saying:
This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
restricted \write18 enabled.

kpathsea: Running mktexfmt xelatex.fmt
I can't find the format file `xelatex.fmt'!

What is the problem here? How can I fix it?

Best Answer

try to run sudo fmtutil-sys --all which should create all missing format files.