Split requirement and PDF output.
Add required packages, e.g. Ubuntu, Debian: texlive-latex-extra