[c904794a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY tl-installer-download-http "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
|
---|
| 8 |
|
---|
| 9 | <!ENTITY tl-installer-download-ftp " ">
|
---|
[666e811] | 10 | <!ENTITY tl-installer-md5sum "f5b1e909d5c2380cefd2cda83d288c00">
|
---|
| 11 | <!ENTITY tl-installer-date "20140628"> <!-- in the directory name -->
|
---|
| 12 | <!ENTITY tl-installer-size "3.2 MB">
|
---|
[c904794a] | 13 |
|
---|
| 14 | <!ENTITY tl-installer-buildsize "3.8 GB">
|
---|
| 15 | <!ENTITY tl-installer-time "varies, depending on network speed and traffic">
|
---|
| 16 | ]>
|
---|
| 17 |
|
---|
| 18 | <sect1 id="tl-installer" xreflabel="install-tl-unx">
|
---|
| 19 | <?dbhtml filename="tl-installer.html"?>
|
---|
| 20 |
|
---|
| 21 | <sect1info>
|
---|
| 22 | <othername>$LastChangedBy$</othername>
|
---|
| 23 | <date>$Date$</date>
|
---|
| 24 | </sect1info>
|
---|
| 25 |
|
---|
| 26 | <title>install-tl-unx</title>
|
---|
| 27 |
|
---|
| 28 | <indexterm zone="tl-installer">
|
---|
| 29 | <primary sortas="a-install-tl-unx">install-tl-unx</primary>
|
---|
| 30 | </indexterm>
|
---|
| 31 |
|
---|
| 32 | <sect2 role="package">
|
---|
| 33 | <title>Introduction to TeX Live and its installer</title>
|
---|
| 34 |
|
---|
| 35 | <para>The <application>TeX Live</application> package is a comprehensive
|
---|
[666e811] | 36 | TeX document production system. It includes TeX, LaTeX2e, ConTeXt,
|
---|
[c904794a] | 37 | Metafont, MetaPost, BibTeX and many other programs; an extensive collection
|
---|
| 38 | of macros, fonts and documentation; and support for typesetting in many
|
---|
| 39 | different scripts from around the world.</para>
|
---|
| 40 |
|
---|
[2d98031c] | 41 | <para>This page is for people who wish to use the binary installer to
|
---|
| 42 | provide the programs, the scripts, and a lot of supporting files and
|
---|
| 43 | documentation. The installer is updated frequently, so its md5sum will
|
---|
| 44 | change if it is newer than what is shown below. Newer versions of the
|
---|
| 45 | installer are expected to work with these instructions, for so long as they
|
---|
| 46 | install to a
|
---|
[c904794a] | 47 | <filename class="directory">&texlive-year;/</filename> directory.</para>
|
---|
| 48 |
|
---|
[8c1b9f7] | 49 | &lfs76_checked;
|
---|
[c904794a] | 50 |
|
---|
| 51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 52 | <itemizedlist spacing="compact">
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download (HTTP): <ulink url="&tl-installer-download-http;"/></para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Download (FTP): <ulink url="&tl-installer-download-ftp;"/></para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[666e811] | 60 | <para>Download MD5 sum: &tl-installer-md5sum; (at &tl-installer-date;)</para>
|
---|
[c904794a] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Download size: &tl-installer-size;</para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>Estimated disk space required: &tl-installer-buildsize;</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>Estimated build time: &tl-installer-time;</para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
|
---|
| 74 | <para role="recommended">
|
---|
| 75 | The binaries are mostly linked to static libraries such as
|
---|
| 76 | <filename class="libraryfile">libc.a</filename>, but a few of the programs
|
---|
[666e811] | 77 | and several scripts will fail if the following packages are not present.
|
---|
[c904794a] | 78 | </para>
|
---|
[d7f0b08] | 79 | <para role="recommended">
|
---|
[666e811] | 80 | <xref linkend="gs"/> is dynamically loaded by dvisvgm, which is used by
|
---|
| 81 | <application>asy</application>.
|
---|
[c904794a] | 82 | </para>
|
---|
[d7f0b08] | 83 | <para role="recommended">
|
---|
[c904794a] | 84 | <xref linkend="xorg7-lib"/> and
|
---|
[8fc0db78] | 85 | <xref linkend="libxcb"/> are needed for inimf, mf, pdfclose, pdfopen and
|
---|
| 86 | xdvixaw. But if you are using asy, or using <application>TeX</application>
|
---|
| 87 | to create a PDF file, you will need an <xref linkend="x-window-system"/>
|
---|
| 88 | (for PDF files, this is to support a PDF viewer of your choice, for example
|
---|
| 89 | <xref linkend="epdfview"/>).
|
---|
[8c1b9f7] | 90 | </para>
|
---|
[d7f0b08] | 91 | <para role="recommended">
|
---|
[666e811] | 92 | the optional non-wide-character ncurses library (for "some binary-only
|
---|
[c904794a] | 93 | application") from the bottom of the <application>Ncurses</application>
|
---|
[666e811] | 94 | page in LFS is needed for xindy.run which is used by
|
---|
| 95 | <application>xindy</application>
|
---|
| 96 | </para>
|
---|
[d7f0b08] | 97 | <para role="recommended">
|
---|
[8fc0db78] | 98 | If you are building on 32-bit x86, the binary version of asy needs <ulink
|
---|
| 99 | url="http://www.fftw.org/">FFTW</ulink>, <xref linkend="glu"/> and <ulink
|
---|
| 100 | url="ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz">libreadline-5.2</ulink>
|
---|
| 101 | : this only requires <filename>libreadline.so.5.2</filename> which can be
|
---|
| 102 | manually copied from the <filename class="directory">shm/</filename>
|
---|
| 103 | directory after running <command>configure</command> and <command>make</command>
|
---|
| 104 | and then symlinked as <filename>libreadline.so.5</filename>.
|
---|
| 105 | </para>
|
---|
[d7f0b08] | 106 | <!-- text for runtime deps, shared with texlive and pass 1 -->
|
---|
| 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 108 | href="../../xincludes/texruntime.xml"/>
|
---|
[c904794a] | 109 |
|
---|
| 110 | <para condition="html" role="usernotes">User Notes:
|
---|
| 111 | <ulink url="&blfs-wiki;/tl-installer"/></para>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="installation">
|
---|
| 116 | <title>Binary Installation of TeX Live</title>
|
---|
| 117 |
|
---|
| 118 | <para>The <application>TeX Live</application> set of programs with its
|
---|
| 119 | supporting documents, fonts, and utilities is very large. The upstream
|
---|
| 120 | maintainers recommend placing all files in a single directory structure.
|
---|
| 121 | BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
|
---|
| 122 |
|
---|
[6193c394] | 123 | <para>As with any other package, unpack the installer and change into its
|
---|
[c904794a] | 124 | directory, <filename class='directory'>install-tl-<CCYYMMDD></filename>.
|
---|
| 125 | This directory name changes when the installer is updated, so replace
|
---|
| 126 | <CCYYMMDD> by the correct directory name.</para>
|
---|
| 127 |
|
---|
[8a4cd0a] | 128 | <note>
|
---|
| 129 | <para>
|
---|
| 130 | The distribution binaries installed below use static linking
|
---|
[c904794a] | 131 | for general linux system libraries. Additional libraries or interpreters
|
---|
| 132 | as specified in the dependencies section do not need to be present during
|
---|
| 133 | the install, but the programs that need them will not run until their
|
---|
[8a4cd0a] | 134 | specific dependencies have been installed.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <!-- please keep something like this in the future -->
|
---|
| 138 | <para>
|
---|
| 139 | With all contributed binary software, there may be a mismatch between the
|
---|
| 140 | builder's toolchain and your hardware. In most of TeX this will probably
|
---|
| 141 | not matter, but in uncommon corner cases you might hit problems.
|
---|
| 142 | e.g. if your x86_64 processor does not support 3dnowext or 3dnow, the
|
---|
| 143 | 2014-06-28 binary failed in conTeXt when running LuaTeX, although lualatex
|
---|
| 144 | worked, as did the i686 binaries on the same machine. In such cases, the
|
---|
| 145 | easiest solution is to install texlive from source.
|
---|
| 146 | </para>
|
---|
| 147 | </note>
|
---|
[c904794a] | 148 |
|
---|
| 149 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 150 | user:</para>
|
---|
| 151 |
|
---|
[db39404] | 152 | <screen role="root"><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
|
---|
[c904794a] | 153 |
|
---|
| 154 | <para>This command is interactive and allows selection or modification of
|
---|
| 155 | platform, packages, directories, and other options. The full installation
|
---|
| 156 | scheme will require about 3.8 gigabytes of disk space. The time to complete
|
---|
| 157 | the download will depend on your internet connection speed and the
|
---|
| 158 | number of packages selected.</para>
|
---|
| 159 |
|
---|
[eb38c8a] | 160 | <para>Now proceed to <xref linkend="tex-path"/>.</para>
|
---|
[c904794a] | 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
[8fc0db78] | 164 | <sect2 role="commands">
|
---|
| 165 | <title>Command Explanations</title>
|
---|
| 166 |
|
---|
| 167 | <para>
|
---|
| 168 | <option>./install-tl --location
|
---|
| 169 | http://mirror.aut.ac.nz/CTAN/systems/texlive/tlnet/</option>: use a
|
---|
| 170 | variation of this if you wish to use a different mirror, e.g. because
|
---|
| 171 | you are in New Zealand but the installer chooses to use an Australian
|
---|
| 172 | mirror. The list of mirrors is at http://ctan.org/mirrors.
|
---|
| 173 | </para>
|
---|
| 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
[c904794a] | 177 | <sect2 role="content">
|
---|
| 178 | <title>Contents</title>
|
---|
| 179 |
|
---|
| 180 | <segmentedlist>
|
---|
| 181 | <segtitle>Installed Programs</segtitle>
|
---|
| 182 | <segtitle>Installed Libraries</segtitle>
|
---|
| 183 | <segtitle>Installed Directories</segtitle>
|
---|
| 184 |
|
---|
| 185 | <seglistitem>
|
---|
| 186 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
| 187 | <seg>None</seg>
|
---|
| 188 | <seg>/opt/texlive</seg>
|
---|
| 189 | </seglistitem>
|
---|
| 190 | </segmentedlist>
|
---|
| 191 |
|
---|
| 192 | <variablelist>
|
---|
| 193 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 194 | <?dbfo list-presentation="list"?>
|
---|
| 195 | <?dbhtml list-presentation="table"?>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="tl-installer-programs">
|
---|
| 198 | <term><command>TeX programs</command></term>
|
---|
| 199 | <listitem>
|
---|
[666e811] | 200 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 201 | href="../../xincludes/texprogs.xml"/>
|
---|
[c904794a] | 202 | <indexterm zone="tl-installer tl-installer-programs">
|
---|
| 203 | <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 | </variablelist>
|
---|
| 208 |
|
---|
| 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | </sect1>
|
---|