====== Install LaTeX on a Synology NAS ======
Installing this way has worked for me the first time, though, after a fresh reinstall of my synology NAS, it seems that pdflatex currently **fails with a segfault**.
It might simply be some benine dependency missing that I could fix with ipkg... Need to work on this
FIXME
As explained in the sources, LaTex (texlive distribution) is built for lots of targets, and this includes arm7 which is used on most Synology NAS.
I followed this [[http://www.churchtool.org/fileadmin/user_upload/docs/latex_in_userspace.pdf|document]] to install latex on my NAS :
* Download and extract the installer :
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar xfv ./install-tl-*
# The installer comes with a suffixed date, eg.: install-tl-20151122
* run the isntaller :
cd ./install-tl-*
./install-tl
Remember to use the interactive installer to change the installation directories to your ''/opt/'' directory
It might spit out some errors, it did in my case, but I still ended up with a working copy of the ''pdflatex'' binary, and that's all I need for now.
Sources : [[http://tug.org/texlive/custom-bin.html]] and [[http://www.churchtool.org/fileadmin/user_upload/docs/latex_in_userspace.pdf]]