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 |
|
---|
7 | <!ENTITY texlive-year "2013">
|
---|
8 | <!ENTITY texlive-installer "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
|
---|
9 |
|
---|
10 | <!ENTITY texlive-source-download-http " ">
|
---|
11 | <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
|
---|
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">
|
---|
17 | ]>
|
---|
18 |
|
---|
19 | <sect1 id="texlive" xreflabel="texlive-&texlive-version;">
|
---|
20 | <?dbhtml filename="texlive.html"?>
|
---|
21 |
|
---|
22 | <sect1info>
|
---|
23 | <othername>$LastChangedBy$</othername>
|
---|
24 | <date>$Date$</date>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>texlive-&texlive-version;</title>
|
---|
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 |
|
---|
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>
|
---|
41 |
|
---|
42 | &lfs74_checked;
|
---|
43 |
|
---|
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>
|
---|
69 | <para>The TeX Live installer: <ulink url="&texlive-installer;"/></para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional"><xref linkend="gs"/>,
|
---|
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>,
|
---|
87 | <xref linkend="lua"/>,
|
---|
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">
|
---|
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 |
|
---|
100 | <para>The <application>TeX Live</application> set of programs with its
|
---|
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 |
|
---|
105 | <para>First, unpack the installer and change into the installer's
|
---|
106 | directory, <filename class='directory'>install-tl-20130730</filename>.
|
---|
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 &&
|
---|
111 | cd install-tl-20130730 </userinput></screen>
|
---|
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
|
---|
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
|
---|
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 |
|
---|
138 | <screen><userinput>cat >> /etc/profile.d/extrapaths.sh << "EOF"
|
---|
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
|
---|
143 | pathappend /opt/texlive/&texlive-year;/bin/x86_64-linux
|
---|
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>
|
---|
156 |
|
---|
157 | <note>
|
---|
158 | <para>If you do not have Xorg installed add <userinput>--without-x</userinput>
|
---|
159 | to the configure command.</para>
|
---|
160 |
|
---|
161 | <para>If you do not have fontconfig installed, add
|
---|
162 | <userinput>--disable-xdvipdfmx</userinput> to the configure command.</para>
|
---|
163 | </note>
|
---|
164 |
|
---|
165 | <screen><userinput>./configure --prefix=/usr \
|
---|
166 | --disable-native-texlive-build \
|
---|
167 | --enable-build-in-source-tree \
|
---|
168 | --without-luatex \
|
---|
169 | --enable-mktextex-default \
|
---|
170 | --with-banner-add=" - BLFS" &&
|
---|
171 | make</userinput></screen>
|
---|
172 |
|
---|
173 | <para>To test the results, issue: <command>make -k check</command>.</para>
|
---|
174 |
|
---|
175 | <para>In order to gather the built files in one place, use
|
---|
176 | <userinput>make install</userinput> to put then in a temproary location:</para>
|
---|
177 |
|
---|
178 | <screen><userinput>make DESTDIR=$PWD/texlive-tmp install</userinput></screen>
|
---|
179 |
|
---|
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>
|
---|
184 |
|
---|
185 | <screen><userinput>find texlive-tmp/usr/bin -type f -exec cp -v {} /opt/texlive/2013/bin/x86_64-linux \;</userinput></screen>
|
---|
186 |
|
---|
187 | <note><para>If you passed the option <option>--enable-shared</option> to the
|
---|
188 | configure command, the two libraries, libkpathsea.so, libptexenc.so and their
|
---|
189 | symbolic links will also need to be copied to /usr/lib.</para></note>
|
---|
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>
|
---|
203 | <seg>None</seg>
|
---|
204 | <seg>/opt/texlive</seg>
|
---|
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">
|
---|
214 | <term><command>TeX programs</command></term>
|
---|
215 | <listitem>
|
---|
216 | <para>included in the <application>TeX Live</application> package are
|
---|
217 | too numerous to individually list. Please refer to the individual
|
---|
218 | program man and html pages in the installation directory's 2011/index.html
|
---|
219 | directory.</para>
|
---|
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>
|
---|