In LuaTeX, Version 1.0.4 (TeX Live 2017/Debian), in order to use the standalone mode, I needed to add \RequirePackage{luatex85}, as in this answer. This method is called there a temporary workaround until standalone is updated. Now I upgraded to Ubuntu 20.04.1 LTS, which comes with LuaTeX, Version 1.10.0 (TeX Live 2019/Debian), and luatex85 can no more be found:

! LaTeX Error: File `luatex85.sty' not found.

but standalone still does not work without it. In other words, this example


does not compile, no matter if the line \RequirePackage{luatex85} is present or not. The error message is as above in both cases.

I copied /usr/share/texlive/texmf-dist/tex/generic/luatex85 from one distribution to another, it did not help. Can I somehow fix the problem?

  • luatex85.sty still exist but it looks as if you didn't install everything. check if there are more tex related packages that you can install. Mar 8, 2021 at 8:14
  • 2
    you should not copy files by hand in to texmf-dist as that will confuse your package manager, but if you do, you need to run sudo mktexlsr afterwards to update its file lists Mar 8, 2021 at 8:18
  • I installed texlive-latex-base and even texlive-latex-extra. Anyways, sudo mktexlsr works, thanks.
    – scriptfoo
    Mar 8, 2021 at 15:45

1 Answer 1


You need to install luatex, for example via texlive on ubuntu etc :

sudo apt-get install texlive-luatex 
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Sep 16, 2021 at 7:32

You must log in to answer this question.

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