Install LaTeX on Ubuntu or Debian

LaTeX is a document markup language. LaTeX is recommended to create technical or scientific articles, papers, reports, books and other documents like PhDs.

1. Open your terminal

A terminal is a Command Line Interface (CLI) where you type commands to tell the computer what to do. Make sure you’ve opened the terminal, if so, continues in the next step.

2. Install TeX Live

TeX Live is a TeX distribution to get up and running with the TeX document production system. To install it, once you’re in the terminal, enter the following command:

sudo apt-get install texlive-full

Then, type your sudo password and you’ll have installed Tex Live. This operation takes time.

3. Install Texmaker

I recommend using a specific editor for LaTeX. My favorite is Texmaker, a cross-platform open source LaTeX editor. To install it, go to the terminal and execute this command:

sudo apt-get install texmaker

4. Create your first document

Open Texmaker and click on File, New. Then write the following code:

\documentclass{article}
\begin{document}
    Hello, world!
\end{document}

Now save the document as a tex file going to File, Save. Finally, compile the document clicking on Tools, PDFLaTeX. Make sure the PDF file has been created and it’s working. And that’s it! You’ve created your first LaTeX document!

Do you like this article? Share it with this link. Thanks for reading!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值