I'm having an issue using LaTeX in Atom. Whenever I build, I get Texification failed! Builder executable 'latexmk' not found.

  • I've installed texlive using tug.org. I've added the lines
export PATH="/usr/local/texlive/2020/bin/x86_64-linux:$PATH"
export MANPATH="/usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH"
export INFOPATH="/usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH"

into the .profile file. Latexmk works using the command line (e.g. latexmk -pdf myfile.tex).

  • I'm using the latex package for Atom. I tried setting Tex path in the settings to Default, /usr/local/texlive/2020/bin/x86_64-linux/, /usr/local/texlive/2020/bin and /usr/local/texlive/2020. None worked.
  • I'm running Elementary OS on an old iMac.

Thanks for your help!

1 Answer 1


I installed TeX using the BasicTeX package and recently ran in to the same problem after downloading and installing BasicTex2022 on top of my existing BasicTex2021 installation. Atom would no longer build and would throw up the same error, despite which latexmk confirming an installation to /Library/TeX/texbin/latexmk.

The problem seems to be that latexmk was installed in my 2021 package but not my 2022 installation. Running:

tlmgr install latexmk

solved the problem for me.

  • Hey! I honestly don't remember how, or even if, I solved myself (I got another computer since then). But I will accept the answer anyway :). Thanks for the contribution!
    – Léo S.
    May 19, 2022 at 10:23
  • thanks! as usual I got here from searching for the error as I was trying to solve the problem myself. Since there was no solution, I thought I'd post one for anyone else who finds themselves here...
    – rymo
    May 19, 2022 at 14:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .