Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I need to install pdflatex on my Linux powered machine (Amazon EC2 instance, didn't decided yet which distribution would be the best so also feel free to give a hint) because I want to connect pdflatex & PHP to produce rendering of LaTeX code to PDF on my website (so user could type in LaTeX, click render and download a PDF, like http://www.scribtex.com). Can you give me some directions?

share|improve this question
Did you build this system? Do you start a new pdflatex process each time you make changes? –  Lord Loh. Mar 4 at 5:50
add comment

1 Answer

Depending on your instance, you might already have a lot of tex tools installed. So when you get it, first check if they're there.

That being said, you can grab the pdftex source from the net using wget, and then compile it from there (assuming Amazon gives you compilers, I've never used their service). Something like this:

wget http://sarovar.org/frs/download.php/1292/pdftex-1.40.10.tar.bz2
tar xf pdftex-1.40.10.tar.bz2
cd pdftex-1.40-10
make install

Those commands will probably be different based on what kind of environment they give you. Just remember that you can download any file from the net using wget or curl. Once you've got that down, downloading source and packages is a breeze. Good luck!

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.