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