On Fedora you will need `texlive-standalone` and `texlive-scontents` to make it work. Maybe on Ubuntu `texlive-scontents` will be needed too as [this bug](https://github.com/xournalpp/xournalpp/issues/2227).