You will need texlive or miktex installed and latexmk
I usually use install texlive-luatex
and texlive-fonts-extra
together with latexmk
And the command I use is latexmk -pdflatex=lualatex -pdf --shell-escape -f -quiet somefile.tex
Any questions please raise an issue.