Skip to content

texlive installation (page not finished)

Henrique Lengler edited this page Oct 13, 2015 · 1 revision

Setting up a tex environment on Sabotage Linux!

TODO: turn this operation into a package

A *tex setup is a complicated thing to get working. How texlive don't provide musl compiled binaries or static ones, you need to do the work of compiling it, and then just install the data files.

If you follow the lines bellow systematically, you must end up with a working environment.

1- install the deps (icu, cairo, libpng, poppler, harfbuzz, fontconfig, freetype, zlib, graphite2), with butch.

2 - get the source here: ftp://tug.org/historic/systems/texlive/2015/texlive-20150521-source.tar.xz the 512sum is: (9d06bb88c489715787ce619c4c6b5e2d4251e1db8d48ae7fe2d1a253634c76bc6d7282ef9c93c77847845cae01eafb58dfb37ba3fb83a6d223f0d7fe8f5d3855)

3 - After unpacking and entering its directory, run: $ mkdir texlive-build # you can't build directly on the main dir $ cd texlive-build

../configure --prefix=/ \
--datarootdir=/share/texlive/2015 \
--bindir=/share/texlive/2015/bin \
--includedir=/include \
--mandir=/share/man \
--libdir=/lib \
--with-system-cairo \
--with-system-zlib \
--with-system-gmp \
--with-system-mpfr \
--with-system-icu \
--with-system-fontconfig \
--with-system-freetype2 \
--with-system-poppler \
--with-system-pixman \
--with-system-harfbuzz \
--with-system-libpng \
--disable-xpdfopen \
--disable-native-texlive-build \
--with-banner-add='/Sabotage Linux' \
--disable-luatex \
--disable-xpdfopen

4 - make it: $ make

5 - now as ROOT install it: # make install-strip # make texlinks