How to compile Latex on Linux

How to compile Latex on Linux, and what's the needed packages?

asked Jan 21, 2013 by forum (2,150 points)

1 Answer

 
Best answer

On Fedora, the packages needed can be simply installed via:

# yum install texlive* dvipdfmx

To compile a latex document (say doc.tex) with bibtex used:

$ latex doc
$ bibtex doc
$ latex doc
$ latex doc
$ dvips doc.dvi
$ ps2pdf doc.ps

The doc.pdf will be generated.

A simple Makefile for automatically compiling the Latex document can be found here: https://www.systutorials.com/b/linux/1643/a-simple-makefile-for-latex/

We can specify more options to ps2pdf: How to convert a ps file to a pdf file.

answered Jan 21, 2013 by anonymous
selected Jan 21, 2013 by SA

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...