I have a problem with my TeXstudio on Ubuntu, cause I can not compile my tex files via XeLaTeX.

The problem:

Error: Could not start the command: xelatex -synctex=1 -interaction=nonstopmode "muktaavalii".tex

I have checked the src: usr/bin/ but I haven't found the xelatex file in the folder.

Could you suggest me something where can I download only that file?

  • 2
    It is not there. It is on the TeXlive install path. On terminal, do which xelatex (my is /usr/local/texlive/2014/bin/x86_64-linux/xelatex). After that, you just configure TeXstudio to point to that path. See the Commands tab on Option > Configure TeXstudio menu. – Sigur Jan 8 '15 at 15:00
  • 2
    Hi and welcome, you do have TeX Live installed, right? This is the basic requirement. – Johannes_B Jan 8 '15 at 15:04
  • Yeah, but I have TexStudio... :) – Péter Tongori Jan 8 '15 at 15:57
  • 1
    Don't confuse TeXLive and TeXStudio. – Ulrike Fischer Jan 8 '15 at 16:04
  • 1
    You need both. TeXStudio as editor and TeXlive as texsystem. – Ulrike Fischer Jan 8 '15 at 16:56

Most probably you are missing the XeLaTeX compiler. Install it by running sudo apt-get install texlive-xetex. If you haven't installed texlive at all, run sudo apt-get install texlive.

To explain what is the difference: TeXStudio is just an editor (like Kate, Gedit, vim, but optimized for LaTeX). TeXLive is a package containing various compilers (which, briefly said, compile tex files into pdfs), LaTeX packages (such as hyperref), language packages and fonts.

Therefore TeXLive is essential if you want to compile tex files. TeXStudio is just a nice bonus to make your editing more pleasant.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.