Installation
Latex is a macro markup language on top of tex markup language. I don't think anyone really writes in tex... Anyways, you need to compile/interpret the markup into a human readible format (generally a pdf).
The installation
Then, look at /compilers for further installation (dependent on IDE)
Usage
$ latexmk -lualatex -pvc -view=pdf -f -outdir=build document.tex
- ^ compiles
texfile into a pdf and continuously reloads - by default
latexmkruns-pdflatexcompiler
Tex Distributions
TeX Live is the standard distribution of TeX, LaTeX, and related programs produced by TeX Users Groups across the world (All offline/online Editors use this to compile tex files)
- MiKTeX for Windows
- TeX Live for Linux and other UNIX-like systems
- MacTeX redistribution of TeX Live for macOS
- teTeX for Linux and other UNIX-like systems; it is no longer actively maintained now
- proTeXt is based on MiKTeX
Source: https://www.overleaf.com/learn/latex/Choosing_a_LaTeX_Compiler%23Other_compilers