Author: ken Date: Thu Feb 13 19:51:05 2014 New Revision: 12704 Log: Really add the page for the texlive installer.
Added: trunk/BOOK/pst/typesetting/tl-installer.xml (contents, props changed) Added: trunk/BOOK/pst/typesetting/tl-installer.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/BOOK/pst/typesetting/tl-installer.xml Thu Feb 13 19:51:05 2014 (r12704) @@ -0,0 +1,206 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../../general.ent"> + %general-entities; + + <!ENTITY tl-installer-download-http "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz"> + + <!ENTITY tl-installer-download-ftp " "> + <!ENTITY tl-installer-md5sum "d90a8e6b1d9d96210a95ed7901356f41"> + <!ENTITY tl-installer-size "2.9 MB"> + + <!ENTITY tl-installer-buildsize "3.8 GB"> + <!ENTITY tl-installer-time "varies, depending on network speed and traffic"> +]> + +<sect1 id="tl-installer" xreflabel="install-tl-unx"> + <?dbhtml filename="tl-installer.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>install-tl-unx</title> + + <indexterm zone="tl-installer"> + <primary sortas="a-install-tl-unx">install-tl-unx</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to TeX Live and its installer</title> + + <para>The <application>TeX Live</application> package is a comprehensive + TeX document production system. It includes TEX, LaTeX2e, ConTEXt, + Metafont, MetaPost, BibTeX and many other programs; an extensive collection + of macros, fonts and documentation; and support for typesetting in many + different scripts from around the world.</para> + + <para>It is necessary to use a binary installer for the first install. + This will provide the programs, the scripts, and a lot of supporting files + and documentation. After that, you can rebuild the programs from source + by following the instructions for <xref linkend="texlive"/>. The installer + is updated frequently, so its md5sum will change if it is newer than what + is shown below. Newer versions of the installer are expected to work with + these instructions, for so long as they install to a + <filename class="directory">&texlive-year;/</filename> directory.</para> + + &lfs74_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&tl-installer-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&tl-installer-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &tl-installer-md5sum; (at 20140213)</para> + </listitem> + <listitem> + <para>Download size: &tl-installer-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &tl-installer-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &tl-installer-time;</para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead> + <para role="recommended"> + The binaries are mostly linked to static libraries such as + <filename class="libraryfile">libc.a</filename>, but a few of the programs + and several scripts will fail if the following packages are not present - + there may be other libraries which are dynamically loaded. + </para> + <para> + <xref linkend="gs"/> is dynamically loaded by (at least) asy. + </para> + <para> + <xref linkend="libdrm"/>, + <xref linkend="freeglut"/> and + <xref linkend="glu"/> are needed for asy. + </para> + <para> + <xref linkend="xorg7-lib"/> and + <xref linkend="libxcb"/> are needed for asy, inimf, mf, pdfclose, pdfopen + and xdvixaw. + </para> + <para> + the optional non-wide-character ncurses libraries (for "some binary-only + application") from the bottom of the <application>Ncurses</application> + page in LFS are needed for asy and xindy.run. + </para> + <para> + <xref linkend="ruby"/> is used by many scripts, + <xref linkend="tk"/> is used by epspdftk + </para> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/tl-installer"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Binary Installation of TeX Live</title> + + <para>The <application>TeX Live</application> set of programs with its + supporting documents, fonts, and utilities is very large. The upstream + maintainers recommend placing all files in a single directory structure. + BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para> + + <para>First, unpack the installer and change into the installer's + directory, <filename class='directory'>install-tl-<CCYYMMDD></filename>. + This directory name changes when the installer is updated, so replace + <CCYYMMDD> by the correct directory name.</para> + +<screen><userinput>tar -xf install-tl-unx.tar.gz && +cd install-tl-<CCYYMMDD> </userinput></screen> + + <note><para>The distribution binaries installed below use static linking + for general linux system libraries. Additional libraries or interpreters + as specified in the dependencies section do not need to be present during + the install, but the programs that need them will not run until their + specific dependencies have been installed.</para></note> + + <para>Now, as the <systemitem class="username">root</systemitem> + user:</para> + +<screen><userinput role="root">TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen> + + <para>This command is interactive and allows selection or modification of + platform, packages, directories, and other options. The full installation + scheme will require about 3.8 gigabytes of disk space. The time to complete + the download will depend on your internet connection speed and the + number of packages selected.</para> + + <para>After the package download is complete, the next step is to make sure + that the system can properly find the files. If you set up your login + scripts as recommended in <xref linkend='postlfs-config-profile'/>, update + the needed paths by appending to the <filename>extrapaths.sh</filename> script. + The programs are always installed in an <ARCH>-linux subdirectory. If + you are not using x86_64, <emphasis>always</emphasis> change that to your + actual installation location.</para> + +<screen><userinput role="root">cat >> /etc/profile.d/extrapaths.sh << "EOF" +pathappend /usr/share/man MANPATH +pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH +pathappend /usr/share/info INFOPATH +pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH +pathappend /opt/texlive/&texlive-year;/bin/x86_64-linux +EOF</userinput></screen> + + <note><para>The standard MANPATH and INFOPATH path are specified above to + ensure they are included. If they are already set in the boot script + procedure, the pathappend function will ensure duplicates are + removed, so including them here will do no harm.</para></note> + + <para>The new paths can be immediately activated by running <command>source + /etc/profile</command>.</para> + + <para>At this point the binary installation is complete.</para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Libraries</segtitle> + <segtitle>Installed Directories</segtitle> + + <seglistitem> + <seg>Over 300 binaries and symlinks to scripts</seg> + <seg>None</seg> + <seg>/opt/texlive</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="tl-installer-programs"> + <term><command>TeX programs</command></term> + <listitem> + <para>included in the <application>TeX Live</application> package are + too numerous to individually list. Please refer to the individual + program man and html pages in the installation directory's 2011/index.html + directory, or the various PDF files within the subdirectories of texmf-dist. + </para> + <indexterm zone="tl-installer tl-installer-programs"> + <primary sortas="b-tl-installer-programs">TeX Live programs</primary> + </indexterm> + </listitem> + </varlistentry> + </variablelist> + + </sect2> + +</sect1> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
