Skip to content

Instantly share code, notes, and snippets.

@V0XNIHILI
Forked from m4kvn/aws_ec2_latex_setting.md
Last active December 24, 2019 11:49
Show Gist options
  • Save V0XNIHILI/b6bf690312b0fa8b9fdc4bc34546bc18 to your computer and use it in GitHub Desktop.
Save V0XNIHILI/b6bf690312b0fa8b9fdc4bc34546bc18 to your computer and use it in GitHub Desktop.
AWS EC2 LaTeX

AWS EC2 LaTeX

Setup

[ec2-user ~]$ wget http://ftp.jaist.ac.jp/pub/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz
[ec2-user ~]$ tar xzf install-tl-unx.tar.gz
[ec2-user ~]$ cd install-tl-2017xxxx
[ec2-user ~]$ sudo ./install-tl

Installing TeX Live

[ec2-user ~]$ sudo yum -y install texlive texlive-latex texlive-xetex
[ec2-user ~]$ sudo yum -y install texlive-xetex-def
[ec2-user ~]$ sudo yum -y install texlive-collection-xetex

Set up hyphenation for all European languages

yum install texlive-lang-european

Troubleshooting

When you get errors like the one below while compiling a document:

! LaTeX Error: File `etaremune.sty' not found.

Then please look at how to install .sty files: http://www.hannahdee.eu/blog/?p=835 and perform this trick on your instance for the given .sty file(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment