source: pst/typesetting/texlive.xml@ 8aeb474

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 8aeb474 was 8aeb474, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

General cleanup. Mostly removing obsolete comments.

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

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