"Research is creating new knowledge." -Neil Armstrong
Anup Chaudhari
10196
July 31, 2019 (Last Updated)
Installing LaTeX on Ubuntu 18.04/16.04/14.04
LaTeX is a markup language used for writing documents such as papers, books, scientific articles, thesis, etc. It can also be called as a document preparation system.
Objective
This article provides commands and instructions on how to install LaTeX on the Ubuntu operating system. You can find several LaTeX distributions online. One commonly used is TeX Live and we will be discussing the installation of the same.
About TeX Live
TeX Live is one of the simplest ways of working with the TeX document preparation system. TeX Live provides a complete TeX system and supports most of the common operating systems including and not limited to Linux, Ubuntu, Unix, Mac OS, and Windows. It supports the majority of packages, fonts, languages, and most of the programs related to TeX.
Requirements
You will need privileged access. This can be achieved by using sudo command.
Difficulty
Easy! Just need to follow a few commands.
Steps to install TeX Live
Steps to install TeX Live are as follows:
Use the below command to install Tex Live LaTeX distribution on ubuntu
sudo apt-get install texlive-full
In order to edit a LaTeX document, we require an editor. There are plenty of LaTeX editors available online. I suggest to use Texmaker, which is a cross-platform supported LaTeX editor. Use the below command to install Texmaker on your ubunu system:
sudo apt-get install texmaker
After complete installation of the texmaker, use the below command to open Texmaker on your Ubuntu system:
texmaker
In order to create a document by using Texmaker, click on File and then select New. Now, write the following piece of lines in a blank document:
\documentclass{article}
\begin{document}
This is my first latex document!
\end{document}
Save your document as a '.tex' file. Click on File -> Save.
Inorder to compile your document click on Quick Build arrow.
Conclusion
LaTeX plays a very important role in writing a thesis, book, conference paper, or any journal paper. In this article, we have discussed the complete installation of TeX Live (TeXLive) for Ubuntu in a few easy steps.