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