When I fell in love with Donald Knuth's TeX, I naturally also came across LaTeX (which build on TeX) by Leslie Lamport.
This repo has some experiments I was doing while learning it.
Assuming LaTeX is already installed in your system, of-course! :-)...
For each LaTeX source with the filename <xyz.ltx>, you can simply use the following:
$ pdflatex <xyz.ltx> <RETURN>