[Tex/LaTex] “Could not start the command.” Error message Ubuntu TeXmaker

errors

I've been having some technical issues with LaTeX lately. I'm using Ubuntu and I'm trying to make a LaTeX file. Here's my code:
enter image description here
When I press the arrow to the left of "quick build" I get:
enter image description here
What's going on? Any tips would be greatly appreciated. Thanks!

Best Answer

Just install the relevant packages from the repositories:

sudo apt-get install texlive-latex-base

That will get you a basic LaTeX system. For a more complete installation with more packages and fonts, use this:

sudo apt-get install texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended

for XeLatex

sudo apt-get install texlive-xetex

Now you can compile all!

Related Question