Installing LaTeX on Linux
In this guide, I will show you how to install complete components of LaTeX on Linux.
To work Latex in Ubuntu we need software’s like:
1. Tex Live
2. Tex Editor
2. Tex Editor
What is Tex Live:
TeX Live is a free software distribution for the TeX typesetting system that includes major TeX-related programs, macro packages, and fonts.
Benefits Tex Live Over MiKTeX:
1. If you install Tex Live then no need to install any of Tex packages.
2. You can run any Tex code without any error.
3. Tex Live can also run in Windows System
2. You can run any Tex code without any error.
3. Tex Live can also run in Windows System
4. To know how to install latex in Windows 10 Go.
5. Also support for Beamer class to write and run code of PowerPoint presentation.
5. Also support for Beamer class to write and run code of PowerPoint presentation.
How to install Tex Live:
- First download Tex Live Setup from Link
- After successful download put it in Download folder as it is.
- In my case name of file is texlive2016-20160523.iso use same name in below commands.
- Just ensure that you have the perl-tk package installed before using the GUI. If not, open a terminal and go:
$ apt-get install perl-tk - Then create a mount point:
$ sudo mkdir /mnt - Change the current directory, mount the .iso and start installation.
$ cd ~/Downloads
$ sudo mount -t iso9660 -o ro,loop,noauto texlive2016-20160523.iso /mnt
$ cd /mnt
$ sudo ./install-tl --gui=perltk - This opens up a nice GUI like.
8. Just Click install Tex Live.
9. After installation, close the terminal and open a new terminal and execute:
$ sudo umount /mnt
10. Check if everything is OK:
$ tex –version
TeX 3.1415926 (TeX Live 2013)
kpathsea version 6.1.1
Copyright 2013 D.E. Knuth.
TeX 3.1415926 (TeX Live 2013)
kpathsea version 6.1.1
Copyright 2013 D.E. Knuth.
After Tex Live installation install Tex Editor:
1. Download TextStudio from link for Debian i.e .deb file.
2. Install this file by using command.
$ sudo dpkg –i texstudio_2.10.8-5.1_amd64.deb
3. After installation search for TexStudieo and open editor.
2. Install this file by using command.
$ sudo dpkg –i texstudio_2.10.8-5.1_amd64.deb
3. After installation search for TexStudieo and open editor.
Simple Latex Code to test:
Create new file and copy paste code
\documentclass{article}
\begin{document}
\begin{center}
Hello, Worls!
\end{center}
\end{document}
Run this file.
Done!!
\documentclass{article}
\begin{document}
\begin{center}
Hello, Worls!
\end{center}
\end{document}
Run this file.
Done!!
No comments:
Post a Comment