[f1e103a] | 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 |
|
---|
[66479be] | 7 | <!ENTITY texlive-year "2013">
|
---|
[9f35d02] | 8 | <!ENTITY texlive-installer "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
|
---|
| 9 |
|
---|
[f1e103a] | 10 | <!ENTITY texlive-source-download-http " ">
|
---|
[aa22ad7] | 11 | <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
|
---|
[66479be] | 12 | <!ENTITY texlive-source-md5sum "f52599c99fb1035399b907f4c54f1125">
|
---|
| 13 | <!ENTITY texlive-source-size "172 MB">
|
---|
| 14 |
|
---|
| 15 | <!ENTITY texlive-buildsize "1.6 GB">
|
---|
| 16 | <!ENTITY texlive-time "9.6 SBU">
|
---|
[f1e103a] | 17 | ]>
|
---|
| 18 |
|
---|
[a027d7d3] | 19 | <sect1 id="texlive" xreflabel="texlive-&texlive-version;">
|
---|
[f1e103a] | 20 | <?dbhtml filename="texlive.html"?>
|
---|
| 21 |
|
---|
| 22 | <sect1info>
|
---|
| 23 | <othername>$LastChangedBy$</othername>
|
---|
| 24 | <date>$Date$</date>
|
---|
| 25 | </sect1info>
|
---|
| 26 |
|
---|
[a027d7d3] | 27 | <title>texlive-&texlive-version;</title>
|
---|
[f1e103a] | 28 |
|
---|
| 29 | <indexterm zone="texlive">
|
---|
| 30 | <primary sortas="a-texlive">texlive</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to TeX Live</title>
|
---|
| 35 |
|
---|
[9f35d02] | 36 | <para>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 collection
|
---|
| 39 | of macros, fonts and documentation; and support for typesetting in many
|
---|
| 40 | different scripts from around the world.</para>
|
---|
[0d7900a] | 41 |
|
---|
[93343b6] | 42 | &lfs74_checked;
|
---|
[7b74537e] | 43 |
|
---|
[f1e103a] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &texlive-source-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &texlive-source-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &texlive-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &texlive-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 67 | <itemizedlist spacing="compact">
|
---|
| 68 | <listitem>
|
---|
[9f35d02] | 69 | <para>The TeX Live installer: <ulink url="&texlive-installer;"/></para>
|
---|
| 70 | </listitem>
|
---|
[f1e103a] | 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
|
---|
[9f35d02] | 74 |
|
---|
[f1e103a] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional"><xref linkend="gs"/>,
|
---|
[9f35d02] | 77 | <xref linkend="poppler"/>,
|
---|
| 78 | <xref linkend="freetype2"/>,
|
---|
| 79 | <xref linkend="fontconfig"/>,
|
---|
| 80 | <xref linkend="libpng"/>,
|
---|
| 81 | <xref linkend="x-window-system"/>,
|
---|
| 82 | <xref linkend="icu"/>,
|
---|
| 83 | <ulink url="http://www.libgd.org/Main_Page">GD</ulink>,
|
---|
| 84 | <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>,
|
---|
| 85 | <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
|
---|
| 86 | <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
|
---|
[c1a0390] | 87 | <xref linkend="lua"/>,
|
---|
[9f35d02] | 88 | <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=TECkitDownloads">TECkit</ulink>, and
|
---|
| 89 | <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=RenderingGraphite">
|
---|
[f1e103a] | 90 | Graphite</ulink></para>
|
---|
| 91 |
|
---|
| 92 | <para condition="html" role="usernotes">User Notes:
|
---|
| 93 | <ulink url="&blfs-wiki;/texlive"/></para>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of TeX Live</title>
|
---|
| 99 |
|
---|
[601a838] | 100 | <para>The <application>TeX Live</application> set of programs with its
|
---|
[9f35d02] | 101 | supporting documents, fonts, and utilities is very large. The upstream
|
---|
| 102 | maintainers recommend placing all files in a single directory structure.
|
---|
| 103 | BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
|
---|
| 104 |
|
---|
[0d7900a] | 105 | <para>First, unpack the installer and change into the installer's
|
---|
[66479be] | 106 | directory, <filename class='directory'>install-tl-20130730</filename>.
|
---|
[9f35d02] | 107 | This directory name may change if the installer package is updated
|
---|
| 108 | by the upstream maintainers.</para>
|
---|
| 109 |
|
---|
| 110 | <screen><userinput>tar -xf install-tl-unx.tar.gz &&
|
---|
[66479be] | 111 | cd install-tl-20130730 </userinput></screen>
|
---|
[9f35d02] | 112 |
|
---|
| 113 | <note><para>The distribution binaries installed below use static linking
|
---|
| 114 | for internal <application>TeX Live</application> libraries. Additional
|
---|
| 115 | libraries as specified in the dependencies section do not need to be
|
---|
| 116 | present during the install, but the programs that need them will not run
|
---|
| 117 | until their specific dependencies are installed.</para></note>
|
---|
| 118 |
|
---|
| 119 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 120 | user:</para>
|
---|
| 121 |
|
---|
| 122 | <screen><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | <para>This command is interactive and allows selection or modification of
|
---|
| 125 | platform, packages, directories, and other options. The full installation
|
---|
[66479be] | 126 | scheme will require about 3.5 gigabytes of disk space. The time to complete
|
---|
| 127 | the download will depend on your internet connection speed and the
|
---|
[9f35d02] | 128 | number of packages selected.</para>
|
---|
| 129 |
|
---|
| 130 | <para>After the package download is complete, the next step is to make sure
|
---|
| 131 | that the system can properly find the files. If you set up your login
|
---|
| 132 | scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
|
---|
| 133 | the needed paths by appending to the <filename>extrapaths.sh</filename> script.
|
---|
| 134 | Be sure to adjust the paths below to reflect your actual installation
|
---|
| 135 | location. In addition, the path to the binaries will be affected by your
|
---|
| 136 | system architecture.</para>
|
---|
| 137 |
|
---|
[f123dfe7] | 138 | <screen><userinput>cat >> /etc/profile.d/extrapaths.sh << "EOF"
|
---|
[66479be] | 139 | pathappend /usr/share/man MANPATH
|
---|
| 140 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
|
---|
| 141 | pathappend /usr/share/info INFOPATH
|
---|
| 142 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
|
---|
[0d7900a] | 143 | pathappend /opt/texlive/&texlive-year;/bin/x86_64-linux
|
---|
[9f35d02] | 144 | EOF</userinput></screen>
|
---|
| 145 |
|
---|
| 146 | <note><para>The standard MANPATH and INFOPATH path are specified above to
|
---|
| 147 | ensure they are included. If they are already set in the boot script
|
---|
| 148 | procedure, the pathappend function will ensure duplicates are
|
---|
| 149 | removed, so including them here will do no harm.</para></note>
|
---|
| 150 |
|
---|
| 151 | <para>The new paths can be immediately activated by running <command>source
|
---|
| 152 | /etc/profile</command>.</para>
|
---|
| 153 |
|
---|
| 154 | <para>At this point the installation is complete. If building from
|
---|
| 155 | source is desired, extract the source package as usual and continue.</para>
|
---|
[f1e103a] | 156 |
|
---|
[d40e1a4] | 157 | <note>
|
---|
[0d7900a] | 158 | <para>If you do not have Xorg installed add <userinput>--without-x</userinput>
|
---|
[d40e1a4] | 159 | to the configure command.</para>
|
---|
| 160 |
|
---|
[0d7900a] | 161 | <para>If you do not have fontconfig installed, add
|
---|
[d40e1a4] | 162 | <userinput>--disable-xdvipdfmx</userinput> to the configure command.</para>
|
---|
| 163 | </note>
|
---|
[f1e103a] | 164 |
|
---|
[d40e1a4] | 165 | <screen><userinput>./configure --prefix=/usr \
|
---|
[f1e103a] | 166 | --disable-native-texlive-build \
|
---|
[aa22ad7] | 167 | --enable-build-in-source-tree \
|
---|
[f1e103a] | 168 | --without-luatex \
|
---|
| 169 | --enable-mktextex-default \
|
---|
| 170 | --with-banner-add=" - BLFS" &&
|
---|
| 171 | make</userinput></screen>
|
---|
| 172 |
|
---|
[66479be] | 173 | <para>To test the results, issue: <command>make -k check</command>.</para>
|
---|
[f1e103a] | 174 |
|
---|
[0d7900a] | 175 | <para>In order to gather the built files in one place, use
|
---|
[9f35d02] | 176 | <userinput>make install</userinput> to put then in a temproary location:</para>
|
---|
[f1e103a] | 177 |
|
---|
[8aeb474] | 178 | <screen><userinput>make DESTDIR=$PWD/texlive-tmp install</userinput></screen>
|
---|
[f1e103a] | 179 |
|
---|
[9f35d02] | 180 | <para>Now copy the executables to the <application>TeX Live</application>
|
---|
| 181 | binary directory. Be sure to adjust the destination directory for your
|
---|
| 182 | installation. As the <systemitem class="username">root</systemitem>
|
---|
| 183 | user:</para>
|
---|
[f1e103a] | 184 |
|
---|
[66479be] | 185 | <screen><userinput>find texlive-tmp/usr/bin -type f -exec cp -v {} /opt/texlive/2013/bin/x86_64-linux \;</userinput></screen>
|
---|
[f1e103a] | 186 |
|
---|
[9f35d02] | 187 | <note><para>If you passed the option <option>--enable-shared</option> to the
|
---|
[66479be] | 188 | configure command, the two libraries, libkpathsea.so, libptexenc.so and their
|
---|
[9f35d02] | 189 | symbolic links will also need to be copied to /usr/lib.</para></note>
|
---|
[f1e103a] | 190 |
|
---|
| 191 | </sect2>
|
---|
| 192 |
|
---|
| 193 | <sect2 role="content">
|
---|
| 194 | <title>Contents</title>
|
---|
| 195 |
|
---|
| 196 | <segmentedlist>
|
---|
| 197 | <segtitle>Installed Programs</segtitle>
|
---|
| 198 | <segtitle>Installed Libraries</segtitle>
|
---|
| 199 | <segtitle>Installed Directories</segtitle>
|
---|
| 200 |
|
---|
| 201 | <seglistitem>
|
---|
| 202 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
[9f35d02] | 203 | <seg>None</seg>
|
---|
| 204 | <seg>/opt/texlive</seg>
|
---|
[f1e103a] | 205 | </seglistitem>
|
---|
| 206 | </segmentedlist>
|
---|
| 207 |
|
---|
| 208 | <variablelist>
|
---|
| 209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 210 | <?dbfo list-presentation="list"?>
|
---|
| 211 | <?dbhtml list-presentation="table"?>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="texlive-programs">
|
---|
[9f35d02] | 214 | <term><command>TeX programs</command></term>
|
---|
[f1e103a] | 215 | <listitem>
|
---|
| 216 | <para>included in the <application>TeX Live</application> package are
|
---|
| 217 | too numerous to individually list. Please refer to the individual
|
---|
[9f35d02] | 218 | program man and html pages in the installation directory's 2011/index.html
|
---|
| 219 | directory.</para>
|
---|
[f1e103a] | 220 | <indexterm zone="texlive texlive-programs">
|
---|
| 221 | <primary sortas="b-texlive-programs">TeX Live programs</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 | </variablelist>
|
---|
| 226 |
|
---|
| 227 | </sect2>
|
---|
| 228 |
|
---|
| 229 | </sect1>
|
---|