source: pst/typesetting/texlive.xml@ 9f35d02

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 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 9f35d02 was 9f35d02, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Rewrote TeX Live installation procedures.
Added LIBS environmetn variable to nfs-utils configure.
Added tcpwrappers as an optional rpcbind dependency.
Added pkgconfig as a required libtirpc dependency.

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

  • Property mode set to 100644
File size: 10.3 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-installer "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
8
9 <!ENTITY texlive-source-download-http " ">
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">
13
14 <!ENTITY texlive-texmf-download-http " ">
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">
18
19 <!ENTITY texlive-buildsize "5.4 GB">
20 <!ENTITY texlive-time "9.7 SBU">
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
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
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>
71 <para>The TeX Live installer: <ulink url="&texlive-installer;"/></para>
72 </listitem>
73 <!--
74 <listitem>
75 <para>TeX MetaFonts and additional components:
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>
83 </listitem>-->
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional"><xref linkend="gs"/>,
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&amp;id=TECkitDownloads">TECkit</ulink>, and
103 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;cat_id=RenderingGraphite">
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
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 &amp;&amp;
125cd 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 &gt;&gt;> /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
153pathappend /usr/share/man MANPATH
154pathappend /opt/texlive/2011/texmf/doc/man MANPATH
155pathappend /usr/share/info INFOPATH
156pathappend /opt/texlive/2011/texmf/doc/info INFOPATH
157pathappend /opt/texlive/2011/bin/x86_64-linux
158EOF</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>
170
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>
178
179<screen><userinput>./configure --prefix=/usr \
180 --disable-native-texlive-build \
181 --without-luatex \
182 --enable-mktextex-default \
183 --with-banner-add=" - BLFS" &amp;&amp;
184make</userinput></screen>
185
186 <para>To test the results, issue: <command>make check</command>.</para>
187
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>
190
191<screen><userinput>make DESTDIR=$PWD/livetex-tmp install</userinput></screen>
192
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>
197
198<screen><userinput>find livetex-tmp/usr/bin -type f -exec cp -v {} /opt/texlive/2011/bin/x86_64-linux \;</userinput></screen>
199
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>
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>
216 <seg>None</seg>
217 <seg>/opt/texlive</seg>
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">
227 <term><command>TeX&nbsp;programs</command></term>
228 <listitem>
229 <para>included in the <application>TeX Live</application> package are
230 too numerous to individually list. Please refer to the individual
231 program man and html pages in the installation directory's 2011/index.html
232 directory.</para>
233 <indexterm zone="texlive texlive-programs">
234 <primary sortas="b-texlive-programs">TeX Live programs</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238<!--
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
243 and catalog pathnames used in the Tex installation.</para>
244 <indexterm zone="texlive libkpathseaTL">
245 <primary sortas="c-libkpathseaTL">libkpathsea.{so,a}</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249-->
250 </variablelist>
251
252 </sect2>
253
254</sect1>
Note: See TracBrowser for help on using the repository browser.