[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 |
|
---|
[2a75b9b] | 75 | <bridgehead renderas="sect4">Optional (to build from source)</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
| 77 | The source ships with its own versions of <emphasis>many</emphasis> of
|
---|
| 78 | these libraries, and will use them unless it is forced to use the system
|
---|
| 79 | versions. Work is in progress to deal with this, in the meantime please
|
---|
| 80 | see<ulink url="http://wiki.linuxfromscratch.org/blfs/ticket/4647"> ticket
|
---|
| 81 | #4647</ulink>.
|
---|
| 82 | <xref linkend="gs"/>,
|
---|
[9f35d02] | 83 | <xref linkend="poppler"/>,
|
---|
| 84 | <xref linkend="freetype2"/>,
|
---|
| 85 | <xref linkend="fontconfig"/>,
|
---|
| 86 | <xref linkend="libpng"/>,
|
---|
| 87 | <xref linkend="x-window-system"/>,
|
---|
| 88 | <xref linkend="icu"/>,
|
---|
[a754ee2b] | 89 | <ulink url="http://libgd.bitbucket.org">GD</ulink>,
|
---|
| 90 | <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
|
---|
[9f35d02] | 91 | <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
|
---|
| 92 | <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
|
---|
[c1a0390] | 93 | <xref linkend="lua"/>,
|
---|
[9f35d02] | 94 | <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=TECkitDownloads">TECkit</ulink>, and
|
---|
[2a75b9b] | 95 | <xref linkend="graphite2"/>
|
---|
| 96 | </para>
|
---|
[f1e103a] | 97 |
|
---|
| 98 | <para condition="html" role="usernotes">User Notes:
|
---|
| 99 | <ulink url="&blfs-wiki;/texlive"/></para>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of TeX Live</title>
|
---|
| 105 |
|
---|
[601a838] | 106 | <para>The <application>TeX Live</application> set of programs with its
|
---|
[9f35d02] | 107 | supporting documents, fonts, and utilities is very large. The upstream
|
---|
| 108 | maintainers recommend placing all files in a single directory structure.
|
---|
| 109 | BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
|
---|
| 110 |
|
---|
[0d7900a] | 111 | <para>First, unpack the installer and change into the installer's
|
---|
[66479be] | 112 | directory, <filename class='directory'>install-tl-20130730</filename>.
|
---|
[9f35d02] | 113 | This directory name may change if the installer package is updated
|
---|
| 114 | by the upstream maintainers.</para>
|
---|
| 115 |
|
---|
| 116 | <screen><userinput>tar -xf install-tl-unx.tar.gz &&
|
---|
[66479be] | 117 | cd install-tl-20130730 </userinput></screen>
|
---|
[9f35d02] | 118 |
|
---|
| 119 | <note><para>The distribution binaries installed below use static linking
|
---|
| 120 | for internal <application>TeX Live</application> libraries. Additional
|
---|
| 121 | libraries as specified in the dependencies section do not need to be
|
---|
| 122 | present during the install, but the programs that need them will not run
|
---|
| 123 | until their specific dependencies are installed.</para></note>
|
---|
| 124 |
|
---|
| 125 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 126 | user:</para>
|
---|
| 127 |
|
---|
| 128 | <screen><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <para>This command is interactive and allows selection or modification of
|
---|
| 131 | platform, packages, directories, and other options. The full installation
|
---|
[66479be] | 132 | scheme will require about 3.5 gigabytes of disk space. The time to complete
|
---|
| 133 | the download will depend on your internet connection speed and the
|
---|
[9f35d02] | 134 | number of packages selected.</para>
|
---|
| 135 |
|
---|
| 136 | <para>After the package download is complete, the next step is to make sure
|
---|
| 137 | that the system can properly find the files. If you set up your login
|
---|
| 138 | scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
|
---|
| 139 | the needed paths by appending to the <filename>extrapaths.sh</filename> script.
|
---|
| 140 | Be sure to adjust the paths below to reflect your actual installation
|
---|
| 141 | location. In addition, the path to the binaries will be affected by your
|
---|
| 142 | system architecture.</para>
|
---|
| 143 |
|
---|
[f123dfe7] | 144 | <screen><userinput>cat >> /etc/profile.d/extrapaths.sh << "EOF"
|
---|
[66479be] | 145 | pathappend /usr/share/man MANPATH
|
---|
| 146 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
|
---|
| 147 | pathappend /usr/share/info INFOPATH
|
---|
| 148 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
|
---|
[0d7900a] | 149 | pathappend /opt/texlive/&texlive-year;/bin/x86_64-linux
|
---|
[9f35d02] | 150 | EOF</userinput></screen>
|
---|
| 151 |
|
---|
| 152 | <note><para>The standard MANPATH and INFOPATH path are specified above to
|
---|
| 153 | ensure they are included. If they are already set in the boot script
|
---|
| 154 | procedure, the pathappend function will ensure duplicates are
|
---|
| 155 | removed, so including them here will do no harm.</para></note>
|
---|
| 156 |
|
---|
| 157 | <para>The new paths can be immediately activated by running <command>source
|
---|
| 158 | /etc/profile</command>.</para>
|
---|
| 159 |
|
---|
| 160 | <para>At this point the installation is complete. If building from
|
---|
| 161 | source is desired, extract the source package as usual and continue.</para>
|
---|
[f1e103a] | 162 |
|
---|
[d40e1a4] | 163 | <note>
|
---|
[0d7900a] | 164 | <para>If you do not have Xorg installed add <userinput>--without-x</userinput>
|
---|
[d40e1a4] | 165 | to the configure command.</para>
|
---|
| 166 |
|
---|
[0d7900a] | 167 | <para>If you do not have fontconfig installed, add
|
---|
[d40e1a4] | 168 | <userinput>--disable-xdvipdfmx</userinput> to the configure command.</para>
|
---|
| 169 | </note>
|
---|
[f1e103a] | 170 |
|
---|
[d40e1a4] | 171 | <screen><userinput>./configure --prefix=/usr \
|
---|
[f1e103a] | 172 | --disable-native-texlive-build \
|
---|
[aa22ad7] | 173 | --enable-build-in-source-tree \
|
---|
[f1e103a] | 174 | --without-luatex \
|
---|
| 175 | --enable-mktextex-default \
|
---|
| 176 | --with-banner-add=" - BLFS" &&
|
---|
| 177 | make</userinput></screen>
|
---|
| 178 |
|
---|
[66479be] | 179 | <para>To test the results, issue: <command>make -k check</command>.</para>
|
---|
[f1e103a] | 180 |
|
---|
[0d7900a] | 181 | <para>In order to gather the built files in one place, use
|
---|
[9f35d02] | 182 | <userinput>make install</userinput> to put then in a temproary location:</para>
|
---|
[f1e103a] | 183 |
|
---|
[8aeb474] | 184 | <screen><userinput>make DESTDIR=$PWD/texlive-tmp install</userinput></screen>
|
---|
[f1e103a] | 185 |
|
---|
[9f35d02] | 186 | <para>Now copy the executables to the <application>TeX Live</application>
|
---|
| 187 | binary directory. Be sure to adjust the destination directory for your
|
---|
| 188 | installation. As the <systemitem class="username">root</systemitem>
|
---|
| 189 | user:</para>
|
---|
[f1e103a] | 190 |
|
---|
[66479be] | 191 | <screen><userinput>find texlive-tmp/usr/bin -type f -exec cp -v {} /opt/texlive/2013/bin/x86_64-linux \;</userinput></screen>
|
---|
[f1e103a] | 192 |
|
---|
[9f35d02] | 193 | <note><para>If you passed the option <option>--enable-shared</option> to the
|
---|
[66479be] | 194 | configure command, the two libraries, libkpathsea.so, libptexenc.so and their
|
---|
[9f35d02] | 195 | symbolic links will also need to be copied to /usr/lib.</para></note>
|
---|
[f1e103a] | 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | <sect2 role="content">
|
---|
| 200 | <title>Contents</title>
|
---|
| 201 |
|
---|
| 202 | <segmentedlist>
|
---|
| 203 | <segtitle>Installed Programs</segtitle>
|
---|
| 204 | <segtitle>Installed Libraries</segtitle>
|
---|
| 205 | <segtitle>Installed Directories</segtitle>
|
---|
| 206 |
|
---|
| 207 | <seglistitem>
|
---|
| 208 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
[9f35d02] | 209 | <seg>None</seg>
|
---|
| 210 | <seg>/opt/texlive</seg>
|
---|
[f1e103a] | 211 | </seglistitem>
|
---|
| 212 | </segmentedlist>
|
---|
| 213 |
|
---|
| 214 | <variablelist>
|
---|
| 215 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 216 | <?dbfo list-presentation="list"?>
|
---|
| 217 | <?dbhtml list-presentation="table"?>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="texlive-programs">
|
---|
[9f35d02] | 220 | <term><command>TeX programs</command></term>
|
---|
[f1e103a] | 221 | <listitem>
|
---|
| 222 | <para>included in the <application>TeX Live</application> package are
|
---|
| 223 | too numerous to individually list. Please refer to the individual
|
---|
[9f35d02] | 224 | program man and html pages in the installation directory's 2011/index.html
|
---|
| 225 | directory.</para>
|
---|
[f1e103a] | 226 | <indexterm zone="texlive texlive-programs">
|
---|
| 227 | <primary sortas="b-texlive-programs">TeX Live programs</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 | </variablelist>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | </sect1>
|
---|