source: pst/typesetting/texlive.xml@ ec44474

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ec44474 was ec44474, checked in by Ken Moffat <ken@…>, 10 years ago

Separate the TeX Live binary installer, and the details of setting up the PATHs, to its own page.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12703 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.5 KB
Line 
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-source-download-http " ">
8 <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
9 <!ENTITY texlive-source-md5sum "f52599c99fb1035399b907f4c54f1125">
10 <!ENTITY texlive-source-size "172 MB">
11
12 <!ENTITY texlive-buildsize "1.6 GB">
13 <!ENTITY texlive-time "9.6 SBU">
14]>
15
16<sect1 id="texlive" xreflabel="texlive-&texlive-version;">
17 <?dbhtml filename="texlive.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>texlive-&texlive-version;</title>
25
26 <indexterm zone="texlive">
27 <primary sortas="a-texlive">texlive</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to TeX Live from source</title>
32
33 <para>A binary version of the <application>TeX Live</application> package
34 is installed at <xref linkend="tl-installer"/>. Here, we use that to rebuild
35 the compiled programs from source.</para>
36
37 &lfs74_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &texlive-source-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &texlive-source-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &texlive-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &texlive-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Recommended</bridgehead>
64 <para role="recommended">
65 <xref linkend="freeglut"/> (for asy),
66 <xref linkend="gs"/>,
67 <xref linkend="x-window-system"/>
68 </para>
69 <para>
70 The source ships with its own versions of <emphasis>many</emphasis>
71 libraries, and will use them unless it is forced to use the system
72 versions. The following are recommended so that the system version
73 will be used:
74 <xref linkend="icu"/>,
75 <xref linkend="freetype2"/>,
76 <xref linkend="fontconfig"/>,
77 <xref linkend="graphite2"/>,
78 <xref linkend="harfbuzz"/> (linked to graphite2),
79 <xref linkend="libpng"/>,
80 <xref linkend="poppler"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <ulink url="http://www.fftw.org/">FFTW</ulink> can be used by asy.
86 </para>
87 <para>
88 The source ships with its own versions of several libraries which are either
89 not under active development, or only used for limited functionality. If
90 you install these, as with some other optional dependencies in this book you
91 will need to tell <command>configure</command> to use the system versions.
92 <ulink url="http://libgd.bitbucket.org">GD</ulink>,
93 <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
94 <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
95 <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
96 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>
97 </para>
98
99 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
100 <para role="recommended">
101 Some (re-installed) scripts will use
102 <xref linkend="ruby"/> and <xref linkend="tk"/> is used by epspdftk.
103 </para>
104
105 <para condition="html" role="usernotes">User Notes:
106 <ulink url="&blfs-wiki;/texlive"/></para>
107
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of TeX Live</title>
112
113 <para>These instructions will overwrite the corresponding files from the
114 binary installer. As with the installer, change x86_64-linux to whatever
115 matches your architecture.</para>
116
117 <para>Please note that installing from source will recompile the binary
118 programs and recreate the <literal>man</literal> and <literal>info</literal>
119 files. It will also overwrite the scripts - some of these may be older
120 versions than those from the newer installer. It will <emphasis>not</emphasis>
121 recreate any of the following: the more than 200 symlinks in the
122 x86_64-linux directory (some are alternate names, many are pointers to
123 the scripts), html files, PDF files, licenses, README files, two config
124 files (<filename>texmf.cnf</filename> and <filename>texmfcnf.lua</filename>),
125 nor the many package and font files in
126 <filename class="directory">texmf-dist</filename> and
127 <filename class="directory">texmf-var</filename>, nor the files recording
128 the actions of the installer, and the <filename>ls-R</filename> files listing
129 what was originally installed.</para>
130
131 <para>At the moment, these instructions do not rebuild
132 <application>asy</application> and <application>xindy</application> which were
133 installed by the binary installer.</para> <!-- FIXME -->
134
135<screen><userinput>mkdir texlive-build &amp;&amp;
136cd texlive-build &amp;&amp;
137
138../configure --prefix=/opt/texlive/2013 \
139 --bindir=/opt/texlive/2013/bin/x86_64-linux \
140 --datarootdir=/opt/texlive/2013 \
141 --includedir=/usr/include \
142 --infodir=/opt/texlive/2013/texmf-dist/doc/info \
143 --libdir=/usr/lib \
144 --mandir=/opt/texlive/2013/texmf-dist/doc/man \
145 --disable-native-texlive-build \
146 --disable-static --enable-shared \
147 --with-system-libgs \
148 --with-system-poppler \
149 --with-system-freetype2 \
150 --with-system-fontconfig \
151 --with-system-libpng \
152 --with-system-icu \
153 --with-system-graphite2 \
154 --with-system-harfbuzz \
155 --with-system-xpdf \
156 --with-system-poppler \
157 --with-system-cairo \
158 --with-system-pixman \
159 --with-system-zlib \
160 --with-banner-add=" - BLFS" &amp;&amp;
161make</userinput></screen>
162
163 <para>To test the results, issue: <command>make -k check</command>.</para>
164
165 <para>Now, as the <systemitem class="username">root</systemitem>
166 user:</para>
167
168<screen><userinput role="root">make install</userinput></screen>
169
170 </sect2>
171
172 <sect2 role="commands">
173 <title>Command Explanations</title>
174
175 <para>
176 <parameter>--prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
177 </parameter>: these switches ensure that the files installed from source
178 will overwrite the corresponding files previously installed by
179 <application>install-tl</application>.
180 </para>
181
182 <para>
183 <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
184 that the libraries will be found at runtime, and that programs can be
185 compiled against them.
186 </para>
187
188 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
189 href="../../xincludes/static-libraries.xml"/>
190
191 <para>
192 <parameter>--enable-shared</parameter>: Use shared versions of
193 <filename class="libraryfile">libkpathsea</filename> and
194 <filename class="libraryfile">libptexenc</filename>.
195 </para>
196
197 <para>
198 <parameter>--with-system-...</parameter>: Unless this parameter is used,
199 the included versions of these libraries will be statically compiled
200 into the programs which need them. If you decided not to install a
201 recommended library, omit the corresponding switches.
202 </para>
203
204 <para>
205 <parameter>--with-system-xpdf</parameter>: Uniquely, this parameter has
206 a non-standard meaning, it tells <command>configure</command> to use the
207 system-installed <application>poppler</application> headers and library.
208 Again, omit this if you have not installed
209 <application>poppler</application>.
210 </para>
211
212 <para>
213 <option>--without-x</option>: use this if you do not have Xorg installed.
214 </para>
215
216 </sect2>
217
218 <sect2 role="content">
219 <title>Contents</title>
220
221 <segmentedlist>
222 <segtitle>Installed Programs</segtitle>
223 <segtitle>Installed Libraries</segtitle>
224 <segtitle>Installed Directories</segtitle>
225
226 <seglistitem>
227 <seg>Over 300 binaries and symlinks to scripts</seg>
228 <seg>None</seg>
229 <seg>/opt/texlive</seg>
230 </seglistitem>
231 </segmentedlist>
232
233 <variablelist>
234 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
235 <?dbfo list-presentation="list"?>
236 <?dbhtml list-presentation="table"?>
237
238 <varlistentry id="texlive-programs">
239 <term><command>TeX&nbsp;programs</command></term>
240 <listitem>
241 <para>included in the <application>TeX Live</application> package are
242 too numerous to individually list. Please refer to the individual
243 program man and html pages in the installation directory's 2011/index.html
244 directory.</para>
245 <indexterm zone="texlive texlive-programs">
246 <primary sortas="b-texlive-programs">TeX Live programs</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250 </variablelist>
251
252 </sect2>
253
254</sect1>
Note: See TracBrowser for help on using the repository browser.