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