title: Recipe terminated with fatal error: spawn latexmk ENOENT
body: <p>I have just installed debian 10 as well as vscode. I have been struggling with this for 3 days now.. I installed texlive from terminal with the following command:</p>
  <pre><code>sudo apt install texlive
  </code></pre>
  <p>I then installed the latex workshop extension in vscode and tried building a <code>.tex</code> file. The following error popped up:</p>
  <pre><code>Recipe terminated with fatal error: spawn latexmk ENOENT.
  </code></pre>
  <p>I then preceded to install latexmk from terminal with:</p>
  <pre><code>sudo apt install latexmk
  </code></pre>
  <p>The same error kept popping up after that. The output showed this.</p>
  <pre class="lang-sh prettyprint-override"><code>[14:59:34] Recipe step env: {}
  [14:59:34] cwd: /home/phoenix/Documents/stellies/year4/2021/s&amp;s-414/pracs/prac-4/report
  [14:59:34] LaTeX build process spawned. PID: undefined.
  [14:59:35] LaTeX fatal error: spawn latexmk ENOENT, . PID: undefined.
  [14:59:35] Does the executable exist? PATH: /app/bin:/usr/bin:/home/phoenix/.var/app/com.visualstudio.code-oss/data/node/bin:/home/phoenix/.var/app/com.visualstudio.code-oss/data/cargo/bin:/home/phoenix/.var/app/com.visualstudio.code-oss/data/python/bin
  [14:59:35] The environment variable $SHELL: /bin/sh
  </code></pre>
  <p>I then proceded to review the texlive website. I noticed that i did not set the path variable to include the texlive binaries. The texlive website gives the following path to the binary files : <code>PATH=/usr/local/texlive/2021/bin/x86_64-linux:$PATH</code>
  however <code>/usr/local/texlive</code> does not exist on my system for some reason. Where can i find the correct path to the texlive binaries on Debian 10?</p>