Installing LaTeX on Code Ocean

It requires just a few apt-get packages.

Updated over a week ago

Using Code Ocean's custom package management system, use apt-get to install:

  • texlive-latex-extra 

  • texlive-fonts-recommended 

  • dvipng 

Can I just install texlive-full?

If your code needs it, sure! Bear in mind that texlive-full  is a few GB in size, which places additional constraints on who can download and re-run your capsule and how easily. When possible, we advise you to install just the tools you need. Some LaTeX/BibTex utilities, like biber , are available as standalone packages.

Example capsules using LaTeX:



Did this answer your question?