Install LaTeX in Ubuntu
To install LaTeX on Linux do following steps:
$ sudo apt-get install texlive
The above command will install a basic subset of TeX Live’s functionality. To install all the packages in the LaTeX distribution, you have to run the following command.
$ sudo apt-get install texlive-full