[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 |
|
---|
[13507eb] | 7 | <!ENTITY tl-installer-download-http "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
|
---|
[c904794a] | 8 |
|
---|
| 9 | <!ENTITY tl-installer-download-ftp " ">
|
---|
[26e8824] | 10 | <!ENTITY tl-installer-md5sum "769eb3849f931ca3efcbeeca093b95c0">
|
---|
| 11 | <!ENTITY tl-installer-date "20200406"> <!-- in the directory name -->
|
---|
[06fd9a2] | 12 | <!ENTITY tl-installer-size "3.8 MB">
|
---|
[c904794a] | 13 |
|
---|
[26e8824] | 14 | <!ENTITY tl-installer-buildsize "6.6 GB if everything is included">
|
---|
[c904794a] | 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 |
|
---|
[fa3edfef] | 35 | <para>
|
---|
| 36 | The <application>TeX Live</application> package is a comprehensive
|
---|
| 37 | TeX document production system. It includes TeX, LaTeX2e, ConTeXt,
|
---|
| 38 | Metafont, MetaPost, BibTeX and many other programs; an extensive
|
---|
| 39 | collection of macros, fonts and documentation; and support for
|
---|
| 40 | typesetting in many different scripts from around the world.
|
---|
| 41 | </para>
|
---|
| 42 |
|
---|
| 43 | <para>
|
---|
| 44 | This page is for people who wish to use the binary installer to
|
---|
| 45 | provide the programs, the scripts, and a lot of supporting files and
|
---|
| 46 | documentation. The installer is updated frequently, so its md5sum will
|
---|
| 47 | change if it is newer than what is shown below. Newer versions of the
|
---|
| 48 | installer are expected to work with these instructions, for so long as
|
---|
| 49 | they install to a
|
---|
| 50 | <filename class="directory">&texlive-year;/</filename> directory.
|
---|
| 51 | </para>
|
---|
[c904794a] | 52 |
|
---|
[150482f] | 53 | <para>
|
---|
| 54 | There are two reasons why you may wish to install the binaries in BLFS:
|
---|
| 55 | either you need a smaller install (e.g. at a minimum plain TeX without
|
---|
| 56 | LaTeX2e, ConTeXt, etc), or you wish to use <command>tlmgr</command> to
|
---|
| 57 | get updates whilst this version is supported (typically, until April of
|
---|
| 58 | the year after it was released). For the latter, you might prefer to
|
---|
| 59 | install in your <filename class="directory">/home</filename> directory
|
---|
| 60 | as an unprivileged user, and to then make corresponding changes to the
|
---|
| 61 | PATH in your <filename>~/.bashrc</filename> or equivalent.
|
---|
| 62 | </para>
|
---|
| 63 |
|
---|
[24b84bd] | 64 | &lfs10_checked;
|
---|
[c904794a] | 65 |
|
---|
| 66 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 67 | <itemizedlist spacing="compact">
|
---|
| 68 | <listitem>
|
---|
[fa3edfef] | 69 | <para>
|
---|
| 70 | Download (HTTP): <ulink url="&tl-installer-download-http;"/>
|
---|
| 71 | </para>
|
---|
[c904794a] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[fa3edfef] | 74 | <para>
|
---|
| 75 | Download (FTP): <ulink url="&tl-installer-download-ftp;"/>
|
---|
| 76 | </para>
|
---|
[c904794a] | 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
[fa3edfef] | 79 | <para>
|
---|
| 80 | Download MD5 sum: &tl-installer-md5sum; (for &tl-installer-date;)
|
---|
| 81 | </para>
|
---|
[c904794a] | 82 | </listitem>
|
---|
| 83 | <listitem>
|
---|
[fa3edfef] | 84 | <para>
|
---|
| 85 | Download size: &tl-installer-size;
|
---|
| 86 | </para>
|
---|
[c904794a] | 87 | </listitem>
|
---|
| 88 | <listitem>
|
---|
[fa3edfef] | 89 | <para>
|
---|
| 90 | Estimated disk space required: &tl-installer-buildsize;
|
---|
| 91 | </para>
|
---|
[c904794a] | 92 | </listitem>
|
---|
| 93 | <listitem>
|
---|
[fa3edfef] | 94 | <para>
|
---|
| 95 | Estimated build time: &tl-installer-time;
|
---|
| 96 | </para>
|
---|
[c904794a] | 97 | </listitem>
|
---|
| 98 | </itemizedlist>
|
---|
| 99 |
|
---|
[5e61060f] | 100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 101 | <para role="recommended">
|
---|
| 102 | <xref linkend="gnupg2"/> (to validate both the initial downloads, and also
|
---|
| 103 | any updates you might later make using <command>tlmgr</command>.)
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
[c904794a] | 106 | <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
|
---|
| 107 | <para role="recommended">
|
---|
[5e61060f] | 108 | The binaries are mostly linked to included static libraries or
|
---|
| 109 | general (LFS) system libraries, but a few of the programs
|
---|
| 110 | and several scripts will fail if the following packages are not present:
|
---|
[c904794a] | 111 | </para>
|
---|
[d7f0b08] | 112 | <para role="recommended">
|
---|
[0e9ca44] | 113 | <xref role="runtime" linkend="gs"/> is dynamically loaded by
|
---|
[b517db8] | 114 | the external application <ulink url="https://dvisvgm.de/">dvisvgm</ulink>,
|
---|
[06fd9a2] | 115 | which is used by <application>asy</application> when that creates SVG
|
---|
| 116 | files.
|
---|
[c904794a] | 117 | </para>
|
---|
[d7f0b08] | 118 | <para role="recommended">
|
---|
[f5cdf41] | 119 | <xref role="runtime" linkend="xorg7-lib"/> and
|
---|
| 120 | <xref role="runtime" linkend="libxcb"/> are needed for inimf, mf,
|
---|
| 121 | pdfclose, pdfopen and xdvi-xaw. But if you are using asy, or using a
|
---|
| 122 | <application>TeX</application> engine to create a PDF file, you will
|
---|
| 123 | need an <xref role="runtime" linkend="x-window-system"/> (for PDF files,
|
---|
| 124 | this is to support a PDF viewer of your choice, for example
|
---|
| 125 | <xref role="nodep" linkend="epdfview"/>).
|
---|
[8c1b9f7] | 126 | </para>
|
---|
[d7f0b08] | 127 | <para role="recommended">
|
---|
[666e811] | 128 | the optional non-wide-character ncurses library (for "some binary-only
|
---|
[c904794a] | 129 | application") from the bottom of the <application>Ncurses</application>
|
---|
[06fd9a2] | 130 | page in LFS is needed
|
---|
| 131 | for xindy.run which is used by <application>xindy</application>
|
---|
[1e7ef03] | 132 | </para>
|
---|
[d7f0b08] | 133 | <para role="recommended">
|
---|
[06fd9a2] | 134 | The binary version of <application>asy</application> needs
|
---|
| 135 | <xref linkend="freeglut"/>.
|
---|
[8fc0db78] | 136 | </para>
|
---|
[fa3edfef] | 137 | <note>
|
---|
| 138 | <para>
|
---|
| 139 | As always with contributed binary software, it is possible that the
|
---|
| 140 | required dependencies may change when the installer is updated. In
|
---|
| 141 | particular, these dependencies have only been checked on x86_64.
|
---|
| 142 | </para>
|
---|
| 143 | </note>
|
---|
[f594857] | 144 | <!-- text for runtime deps, shared with texlive -->
|
---|
[d7f0b08] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 146 | href="../../xincludes/texruntime.xml"/>
|
---|
[c904794a] | 147 |
|
---|
| 148 | <para condition="html" role="usernotes">User Notes:
|
---|
| 149 | <ulink url="&blfs-wiki;/tl-installer"/></para>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | <sect2 role="installation">
|
---|
| 154 | <title>Binary Installation of TeX Live</title>
|
---|
| 155 |
|
---|
[8a4cd0a] | 156 | <para>
|
---|
[fa3edfef] | 157 | The <application>TeX Live</application> set of programs with its
|
---|
| 158 | supporting documents, fonts, and utilities is very large. The upstream
|
---|
| 159 | maintainers recommend placing all files in a single directory structure.
|
---|
| 160 | BLFS recommends <filename class='directory'>/opt/texlive</filename>.
|
---|
[8a4cd0a] | 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <para>
|
---|
[fa3edfef] | 164 | As with any other package, unpack the installer and change into its
|
---|
| 165 | directory, <filename class='directory'>
|
---|
| 166 | install-tl-<CCYYMMDD></filename>.
|
---|
| 167 | This directory name changes when the installer is updated, so replace
|
---|
| 168 | <CCYYMMDD> by the correct directory name.
|
---|
[8a4cd0a] | 169 | </para>
|
---|
[fa3edfef] | 170 |
|
---|
| 171 | <note>
|
---|
| 172 | <para>
|
---|
| 173 | The distribution binaries installed below may use static linking
|
---|
| 174 | for general linux system libraries. Additional libraries or
|
---|
| 175 | interpreters as specified in the dependencies section do not need to
|
---|
| 176 | be present during the install, but the programs that need them will
|
---|
| 177 | not run until their specific dependencies have been installed.
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
| 180 | <!-- please keep something like this in the future -->
|
---|
| 181 | <para>
|
---|
| 182 | With all contributed binary software, there may be a mismatch between
|
---|
| 183 | the builder's toolchain and your hardware. In most of TeX this will
|
---|
| 184 | probably not matter, but in uncommon corner cases you might hit
|
---|
| 185 | problems. e.g. if your x86_64 processor does not support 3dnowext or
|
---|
| 186 | 3dnow, the 2014-06-28 binary failed in conTeXt when running LuaTeX,
|
---|
| 187 | although lualatex worked, as did the i686 binaries on the same
|
---|
| 188 | machine. In such cases, the easiest solution is to install texlive
|
---|
| 189 | from source. Similarly, the x86_64 binary version of
|
---|
| 190 | <command>asy</command> runs very slowly when creating 3-D diagrams.
|
---|
| 191 | </para>
|
---|
[8a4cd0a] | 192 | </note>
|
---|
[c904794a] | 193 |
|
---|
[fa3edfef] | 194 | <para>
|
---|
| 195 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 196 | </para>
|
---|
[c904794a] | 197 |
|
---|
[db39404] | 198 | <screen role="root"><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
|
---|
[c904794a] | 199 |
|
---|
[fa3edfef] | 200 | <para>
|
---|
| 201 | This command is interactive and allows selection or modification of
|
---|
| 202 | platform, packages, directories, and other options. The full installation
|
---|
| 203 | scheme will require about 4.9 gigabytes of disk space. The time to
|
---|
| 204 | complete the download will depend on your internet connection speed
|
---|
| 205 | and the number of packages selected.
|
---|
| 206 | </para>
|
---|
[c904794a] | 207 |
|
---|
| 208 | </sect2>
|
---|
| 209 |
|
---|
[8fc0db78] | 210 | <sect2 role="commands">
|
---|
| 211 | <title>Command Explanations</title>
|
---|
| 212 |
|
---|
| 213 | <para>
|
---|
| 214 | <option>./install-tl --location
|
---|
| 215 | http://mirror.aut.ac.nz/CTAN/systems/texlive/tlnet/</option>: use a
|
---|
| 216 | variation of this if you wish to use a different mirror, e.g. because
|
---|
| 217 | you are in New Zealand but the installer chooses to use an Australian
|
---|
| 218 | mirror. The list of mirrors is at http://ctan.org/mirrors.
|
---|
| 219 | </para>
|
---|
| 220 |
|
---|
| 221 | </sect2>
|
---|
| 222 |
|
---|
[c904794a] | 223 | <sect2 role="content">
|
---|
| 224 | <title>Contents</title>
|
---|
| 225 |
|
---|
| 226 | <segmentedlist>
|
---|
| 227 | <segtitle>Installed Programs</segtitle>
|
---|
| 228 | <segtitle>Installed Libraries</segtitle>
|
---|
| 229 | <segtitle>Installed Directories</segtitle>
|
---|
| 230 |
|
---|
| 231 | <seglistitem>
|
---|
| 232 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
| 233 | <seg>None</seg>
|
---|
| 234 | <seg>/opt/texlive</seg>
|
---|
| 235 | </seglistitem>
|
---|
| 236 | </segmentedlist>
|
---|
| 237 |
|
---|
| 238 | <variablelist>
|
---|
| 239 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 240 | <?dbfo list-presentation="list"?>
|
---|
| 241 | <?dbhtml list-presentation="table"?>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="tl-installer-programs">
|
---|
| 244 | <term><command>TeX programs</command></term>
|
---|
| 245 | <listitem>
|
---|
[666e811] | 246 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 247 | href="../../xincludes/texprogs.xml"/>
|
---|
[c904794a] | 248 | <indexterm zone="tl-installer tl-installer-programs">
|
---|
| 249 | <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 | </variablelist>
|
---|
| 254 |
|
---|
| 255 | </sect2>
|
---|
| 256 |
|
---|
| 257 | </sect1>
|
---|