I am trying to compile some LaTeX using VSCode on linux. I just did the basic installation scheme of TexLive ( < 300 MB). When I try to compile some code though I get an error about latexmk not being found.
When I try to run latexmk from the terminal it says it can't be found.
I guess I thought it would included with the basic installation. I made sure to update all my paths immediately after installation.
Does anyone know why it can't be found? Or how I should remedy the situation? I apologize if I am missing something obvious.
latexmkis not included in the basic scheme you installed. If you installed vanilla TeX live from TUG, you can installlatexmkviatlmgr(tlmgr install latexmkor some such, possibly withsudo). If you installed TeX live from your Linux distribution's package repositories, you need to find out which package includeslatexmk(in Ubuntu it appears to be calledlatexmk, sosudo apt install latexmkshould do it, see https://packages.ubuntu.com/de/focal/latexmk) – moewe May 07 '20 at 05:16latexmkviatlmgr. If you installed your TeX live from the distribution repository, you should installlatexmkviaapt.latexmkis a very small Perl script, so it is plausible that the download would be very small. I can imagine thataptwould pull in additional dependencies, especially if you installed vanilla TeX live,apt install latexmkmay install a competing TeX system. – moewe May 08 '20 at 05:32