LaTeX

_$: apt-get install texlive

XeTeX

_$: apt-get install texlive-xetex

Spanish

_$: apt-get install texlive-lang-spanish
_$: apt-get install texlive-lang-european