[Tex/LaTex] XeLaTex and TexMaker “cannot-use-pdftex”

luatexxetex

I would like to use the CV template provided by this link.

In the .tex file the author recommends to compile with XeLaTeX. In TeXmaker 4.0, I've used the right option to compile but the following error showed up:

! Fatal fontspec
error: "cannot-use-pdftex"

Should I try to compile using the LuaLaTeX support?

EDIT
The texlive-xetex package was not installed on the system

sudo apt-get install texlive-xetex

-> Now I can compile. Another error came out:

File `layaureo.sty' not found

EDIT 2
I installed texlive-lang-italian package

sudo apt-get install texlive-lang-italian

Now the error is:

! Font \XeTeXLink@font=pzdr at 0.00002pt not loadable: Metric (TFM) file or ins

Solved using

sudo apt-get install texlive-fonts-recommended

from my old question

Best Answer

The package required to compile using XeLaTeX was not installed on my linux ditribution. Solved with:

sudo apt-get install texlive-xetex
Related Question