[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 |
|
---|
| 41 | <para>It is necessary to use a binary installer for the first install.
|
---|
| 42 | This will provide the programs, the scripts, and a lot of supporting files
|
---|
[666e811] | 43 | and documentation. After that, you can rebuild most of the programs from source
|
---|
[c904794a] | 44 | by following the instructions for <xref linkend="texlive"/>. The installer
|
---|
| 45 | is updated frequently, so its md5sum will change if it is newer than what
|
---|
| 46 | is shown below. Newer versions of the installer are expected to work with
|
---|
| 47 | these instructions, for so long as they install to a
|
---|
| 48 | <filename class="directory">&texlive-year;/</filename> directory.</para>
|
---|
| 49 |
|
---|
[5a65b26] | 50 | &lfs75_checked;
|
---|
[c904794a] | 51 |
|
---|
| 52 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 53 | <itemizedlist spacing="compact">
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download (HTTP): <ulink url="&tl-installer-download-http;"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download (FTP): <ulink url="&tl-installer-download-ftp;"/></para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[666e811] | 61 | <para>Download MD5 sum: &tl-installer-md5sum; (at &tl-installer-date;)</para>
|
---|
[c904794a] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Download size: &tl-installer-size;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Estimated disk space required: &tl-installer-buildsize;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Estimated build time: &tl-installer-time;</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
|
---|
| 75 | <para role="recommended">
|
---|
| 76 | The binaries are mostly linked to static libraries such as
|
---|
| 77 | <filename class="libraryfile">libc.a</filename>, but a few of the programs
|
---|
[666e811] | 78 | and several scripts will fail if the following packages are not present.
|
---|
[c904794a] | 79 | </para>
|
---|
| 80 | <para>
|
---|
[666e811] | 81 | <xref linkend="gs"/> is dynamically loaded by dvisvgm, which is used by
|
---|
| 82 | <application>asy</application>.
|
---|
[c904794a] | 83 | </para>
|
---|
| 84 | <para>
|
---|
| 85 | <xref linkend="xorg7-lib"/> and
|
---|
| 86 | <xref linkend="libxcb"/> are needed for asy, inimf, mf, pdfclose, pdfopen
|
---|
[666e811] | 87 | and xdvixaw. But if you are using <application>TeX</application> to create
|
---|
| 88 | a PDF file, you will need an <xref linkend="x-window-system"/> to support a
|
---|
| 89 | PDF viewer of your choice, for example <xref linkend="epdfview"/>.
|
---|
[c904794a] | 90 | </para>
|
---|
| 91 | <para>
|
---|
[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>
|
---|
| 97 | <para>
|
---|
| 98 | <xref linkend="python2"/> is used by many scripts.
|
---|
[c904794a] | 99 | </para>
|
---|
| 100 | <para>
|
---|
[666e811] | 101 | <xref linkend="ruby"/> is used by some scripts, mostly within mtx_context
|
---|
| 102 | which is part of <application>conTeXt</application>.
|
---|
[c904794a] | 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <para condition="html" role="usernotes">User Notes:
|
---|
| 106 | <ulink url="&blfs-wiki;/tl-installer"/></para>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
| 111 | <title>Binary Installation of TeX Live</title>
|
---|
| 112 |
|
---|
| 113 | <para>The <application>TeX Live</application> set of programs with its
|
---|
| 114 | supporting documents, fonts, and utilities is very large. The upstream
|
---|
| 115 | maintainers recommend placing all files in a single directory structure.
|
---|
| 116 | BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
|
---|
| 117 |
|
---|
| 118 | <para>First, unpack the installer and change into the installer's
|
---|
| 119 | directory, <filename class='directory'>install-tl-<CCYYMMDD></filename>.
|
---|
| 120 | This directory name changes when the installer is updated, so replace
|
---|
| 121 | <CCYYMMDD> by the correct directory name.</para>
|
---|
| 122 |
|
---|
| 123 | <screen><userinput>tar -xf install-tl-unx.tar.gz &&
|
---|
| 124 | cd install-tl-<CCYYMMDD> </userinput></screen>
|
---|
| 125 |
|
---|
| 126 | <note><para>The distribution binaries installed below use static linking
|
---|
| 127 | for general linux system libraries. Additional libraries or interpreters
|
---|
| 128 | as specified in the dependencies section do not need to be present during
|
---|
| 129 | the install, but the programs that need them will not run until their
|
---|
| 130 | specific dependencies have been installed.</para></note>
|
---|
| 131 |
|
---|
| 132 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 133 | user:</para>
|
---|
| 134 |
|
---|
| 135 | <screen><userinput role="root">TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | <para>This command is interactive and allows selection or modification of
|
---|
| 138 | platform, packages, directories, and other options. The full installation
|
---|
| 139 | scheme will require about 3.8 gigabytes of disk space. The time to complete
|
---|
| 140 | the download will depend on your internet connection speed and the
|
---|
| 141 | number of packages selected.</para>
|
---|
| 142 |
|
---|
| 143 | <para>After the package download is complete, the next step is to make sure
|
---|
| 144 | that the system can properly find the files. If you set up your login
|
---|
| 145 | scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
|
---|
[a0e3f909] | 146 | the needed paths by appending to the
|
---|
| 147 | <filename>extrapaths.sh</filename> script. The programs are always
|
---|
| 148 | installed in an <ARCH>-linux subdirectory.
|
---|
| 149 | <emphasis>Always</emphasis> replace <ARCH> by x86_64, for 64bit,
|
---|
[666e811] | 150 | or by i386, for 32bit, respectively, depending on the architecture that
|
---|
[a0e3f909] | 151 | you are using in your actual installation location.</para>
|
---|
[c904794a] | 152 |
|
---|
| 153 | <screen><userinput role="root">cat >> /etc/profile.d/extrapaths.sh << "EOF"
|
---|
| 154 | pathappend /usr/share/man MANPATH
|
---|
| 155 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
|
---|
| 156 | pathappend /usr/share/info INFOPATH
|
---|
| 157 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
|
---|
[a0e3f909] | 158 | pathappend /opt/texlive/&texlive-year;/bin/<ARCH>-linux
|
---|
[c904794a] | 159 | EOF</userinput></screen>
|
---|
| 160 |
|
---|
| 161 | <note><para>The standard MANPATH and INFOPATH path are specified above to
|
---|
| 162 | ensure they are included. If they are already set in the boot script
|
---|
| 163 | procedure, the pathappend function will ensure duplicates are
|
---|
| 164 | removed, so including them here will do no harm.</para></note>
|
---|
| 165 |
|
---|
| 166 | <para>The new paths can be immediately activated by running <command>source
|
---|
| 167 | /etc/profile</command>.</para>
|
---|
| 168 |
|
---|
| 169 | <para>At this point the binary installation is complete.</para>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | <sect2 role="content">
|
---|
| 174 | <title>Contents</title>
|
---|
| 175 |
|
---|
| 176 | <segmentedlist>
|
---|
| 177 | <segtitle>Installed Programs</segtitle>
|
---|
| 178 | <segtitle>Installed Libraries</segtitle>
|
---|
| 179 | <segtitle>Installed Directories</segtitle>
|
---|
| 180 |
|
---|
| 181 | <seglistitem>
|
---|
| 182 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
| 183 | <seg>None</seg>
|
---|
| 184 | <seg>/opt/texlive</seg>
|
---|
| 185 | </seglistitem>
|
---|
| 186 | </segmentedlist>
|
---|
| 187 |
|
---|
| 188 | <variablelist>
|
---|
| 189 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 190 | <?dbfo list-presentation="list"?>
|
---|
| 191 | <?dbhtml list-presentation="table"?>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="tl-installer-programs">
|
---|
| 194 | <term><command>TeX programs</command></term>
|
---|
| 195 | <listitem>
|
---|
[666e811] | 196 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 197 | href="../../xincludes/texprogs.xml"/>
|
---|
[c904794a] | 198 | <indexterm zone="tl-installer tl-installer-programs">
|
---|
| 199 | <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 | </variablelist>
|
---|
| 204 |
|
---|
| 205 | </sect2>
|
---|
| 206 |
|
---|
| 207 | </sect1>
|
---|