LaTex Installation
To install LaTex in ubuntu use the following commands –
- sudo apt-get update
- sudo apt-get install texlive-full
LaTex installation takes around 20 minutes. To test LaTex installation use the following steps –
- Create a file with .tex extension.
2. Insert the following code in hello.tex file –
\documentclass{article}
\begin{document}
First Code! Happy Learning 🙂
\end{document}
Download the sample file here – [wpdm_package id=’1453′]
3. Compile file by typing – latex hello.tex or pdftex hello.tex
4. This will create three files – hello.aux , hello.dvi, hello.log
To see the file content type – evince hello.dvi or evince hello.pdf
You will get the output like below –