Installing LaTeX on Elementary OS
Elementary OS does not include LaTeX in its “AppCenter”, so it has to be installed from Terminal or from a more advanced package manager.
The simplest way to install it is to install the entire
texlive package, which installs a number of core LaTeX libraries. It’s a hefty install, coming in at 651 MB, but it ensures that you’ll have most of the libraries you’ll need to write halfway-decent LaTeX documents and the essential command-line tools (
pdflatex, for example).
So, open up Terminal and run:
sudo apt install texlive
And you’re done.