This section describes how to install the basic LaTeX packages as well as additional tools such as LaTeX editors on your OS.

There are two main options to install LaTeX:

1. Native

Operating system dependent installation guide:
The LaTeX installation method is dependent on the operating system (GNU/Linux, OS X or Windows). For GNU/Linux the method also differs from Linux distribution to Linux distribution. The description in this tutorial is for Debian/Ubuntu and Arch/Manjaro like GNU/Linux systems. If you use another GNU/Linux distribution adapt the description accordingly and feel free to add your steps to our documentation.

Follow the detailed description depending on your host OS.


After the installation of the LaTeX package manager etc. install the BFH CI and optional the BFH CI examples packages. See the Getting Started section for information on how to do so.

2. Docker


The usage of Docker simplifies the installation steps in many ways.

  • There is no need to install any software (other than Docker and optionally VSCode) natively.
    (The image contains the basic LaTeX packages as well as depencies such as Inkscape and the BFH CI, so you can get started real quick).

  • The workflow for LaTeX on each OS is the same once Docker is installed, since you are developing inside a Linux container.

  • Switching the versions of the BFH CI is simplified since those are available as Docker tag too (> 1.5.2).

  • Removing the image leaves your OS clean from any LaTeX packages or Tools

Read more about Docker here.


After installing Docker, you can immediately start developing LaTeX documents, for more information please read here.