%general-entities; ]> $LastChangedBy$ $Date$ texlive-&texlive-version;-source pass 1 texlive-pass-1 Introduction to TeX Live from source, pass 1 Most of TeX Live can be built from source without difficulty. However, xindy (for indexing) needs working versions of latex and pdflatex when configure is run, and the testsuite for asy (for vector graphics) will fail if TeX has not already been installed. In addition, it is necessary to create various symlinks at the end of this install. We can later rebuild texlive in to include xindy. There we will install xindy and also build and install asy. &lfs76_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &texlive-pass1-md5sum; Download size: &texlive-pass1-size; Estimated disk space required: &texlive-pass1-buildsize; Estimated build time: &texlive-pass1-time; Required Additional Download Much of the texlive environment (including scripts, documentation, fonts and various other files) is not part of the source tarball. You must download it separately. This will give you all of the additional files which are provided by a full install of the binary version, there is no realistic way to restrict which parts get installed. Because of the size of this package, it is unlikely to be mirrored by BLFS mirrors. In case of difficulty, go to http://www.ctan.org/mirrors/ to find a more-accessible mirror. Download (FTP): Download MD5 sum: &texlive-texmf-md5sum; Download size: &texlive-texmf-size; TeX Live from source pass 1 Dependencies Recommended Optional Runtime dependencies User Notes: Installation of TeX Live, pass 1 Install TeX Live pass 1 by running the following commands: export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') && mkdir texlive-build && cd texlive-build && ../configure \ --prefix=/opt/texlive/&texlive-year; \ --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \ --datarootdir=/opt/texlive/&texlive-year; \ --includedir=/usr/include \ --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \ --libdir=/usr/lib \ --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \ --disable-native-texlive-build \ --disable-static --enable-shared \ --with-system-cairo \ --with-system-fontconfig \ --with-system-freetype2 \ --with-system-graphite2 \ --with-system-harfbuzz \ --with-system-icu \ --with-system-libgs \ --with-system-libpng \ --with-system-pixman \ --with-system-poppler \ --with-system-xpdf \ --with-system-zlib \ --with-banner-add=" - BLFS" && unset TEXARCH && make To test the results, issue: make -k check One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea has not yet been installed. Now, as the root user: make install && make texlinks And now, install the additional files as the root user: mkdir -pv /opt/texlive/&texlive-year; && tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1 Now proceed to . Command Explanations : use this if you do not have Xorg installed. make texlinks : this runs the texlinks.sh script to create (or recreate) symbolic links from formats to engines. In practice, several of the targets such as xetex are now separate binaries and for these it will report "file already exists". tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1: the tarball contains the files for the texmf-dist directory, and because of its size we do not want to waste time and space untarring it and then copying the files. Contents Installed Programs Installed Libraries Installed Directories Over 300 binaries and symlinks to scripts libkpathsea.so, libptexenc.so /opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/texmf-dist, /usr/include/kpathsea, /usr/include/ptexenc Short Descriptions TeX programs TeX Live programs libkpathsea.so (kpathsearch) exists to look up a file in a list of directories. libkpathsea.so libptexenc.so is a library for Japanese pTeX (publishing TeX). libptexenc.so