source: pst/typesetting/texlive.xml@ 2a75b9b

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

Add graphite2, update references to it. In libreoffice move both graphite2 and harfbuzz to recommended because otherwise internal versions will be used. Change the TeX Live link to graphite2, and temporarily point to #4647 until work on TeX is complete.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12676 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-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 (to build from source)</bridgehead>
76 <para role="optional">
77 The source ships with its own versions of <emphasis>many</emphasis> of
78 these libraries, and will use them unless it is forced to use the system
79 versions. Work is in progress to deal with this, in the meantime please
80 see<ulink url="http://wiki.linuxfromscratch.org/blfs/ticket/4647"> ticket
81 #4647</ulink>.
82 <xref linkend="gs"/>,
83 <xref linkend="poppler"/>,
84 <xref linkend="freetype2"/>,
85 <xref linkend="fontconfig"/>,
86 <xref linkend="libpng"/>,
87 <xref linkend="x-window-system"/>,
88 <xref linkend="icu"/>,
89 <ulink url="http://libgd.bitbucket.org">GD</ulink>,
90 <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
91 <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
92 <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
93 <xref linkend="lua"/>,
94 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>, and
95 <xref linkend="graphite2"/>
96 </para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/texlive"/></para>
100
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of TeX Live</title>
105
106 <para>The <application>TeX Live</application> set of programs with its
107 supporting documents, fonts, and utilities is very large. The upstream
108 maintainers recommend placing all files in a single directory structure.
109 BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
110
111 <para>First, unpack the installer and change into the installer's
112 directory, <filename class='directory'>install-tl-20130730</filename>.
113 This directory name may change if the installer package is updated
114 by the upstream maintainers.</para>
115
116<screen><userinput>tar -xf install-tl-unx.tar.gz &amp;&amp;
117cd install-tl-20130730 </userinput></screen>
118
119 <note><para>The distribution binaries installed below use static linking
120 for internal <application>TeX Live</application> libraries. Additional
121 libraries as specified in the dependencies section do not need to be
122 present during the install, but the programs that need them will not run
123 until their specific dependencies are installed.</para></note>
124
125 <para>Now, as the <systemitem class="username">root</systemitem>
126 user:</para>
127
128<screen><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
129
130 <para>This command is interactive and allows selection or modification of
131 platform, packages, directories, and other options. The full installation
132 scheme will require about 3.5 gigabytes of disk space. The time to complete
133 the download will depend on your internet connection speed and the
134 number of packages selected.</para>
135
136 <para>After the package download is complete, the next step is to make sure
137 that the system can properly find the files. If you set up your login
138 scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
139 the needed paths by appending to the <filename>extrapaths.sh</filename> script.
140 Be sure to adjust the paths below to reflect your actual installation
141 location. In addition, the path to the binaries will be affected by your
142 system architecture.</para>
143
144<screen><userinput>cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
145pathappend /usr/share/man MANPATH
146pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
147pathappend /usr/share/info INFOPATH
148pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
149pathappend /opt/texlive/&texlive-year;/bin/x86_64-linux
150EOF</userinput></screen>
151
152 <note><para>The standard MANPATH and INFOPATH path are specified above to
153 ensure they are included. If they are already set in the boot script
154 procedure, the pathappend function will ensure duplicates are
155 removed, so including them here will do no harm.</para></note>
156
157 <para>The new paths can be immediately activated by running <command>source
158 /etc/profile</command>.</para>
159
160 <para>At this point the installation is complete. If building from
161 source is desired, extract the source package as usual and continue.</para>
162
163 <note>
164 <para>If you do not have Xorg installed add <userinput>--without-x</userinput>
165 to the configure command.</para>
166
167 <para>If you do not have fontconfig installed, add
168 <userinput>--disable-xdvipdfmx</userinput> to the configure command.</para>
169 </note>
170
171<screen><userinput>./configure --prefix=/usr \
172 --disable-native-texlive-build \
173 --enable-build-in-source-tree \
174 --without-luatex \
175 --enable-mktextex-default \
176 --with-banner-add=" - BLFS" &amp;&amp;
177make</userinput></screen>
178
179 <para>To test the results, issue: <command>make -k check</command>.</para>
180
181 <para>In order to gather the built files in one place, use
182 <userinput>make install</userinput> to put then in a temproary location:</para>
183
184<screen><userinput>make DESTDIR=$PWD/texlive-tmp install</userinput></screen>
185
186 <para>Now copy the executables to the <application>TeX Live</application>
187 binary directory. Be sure to adjust the destination directory for your
188 installation. As the <systemitem class="username">root</systemitem>
189 user:</para>
190
191<screen><userinput>find texlive-tmp/usr/bin -type f -exec cp -v {} /opt/texlive/2013/bin/x86_64-linux \;</userinput></screen>
192
193 <note><para>If you passed the option <option>--enable-shared</option> to the
194 configure command, the two libraries, libkpathsea.so, libptexenc.so and their
195 symbolic links will also need to be copied to /usr/lib.</para></note>
196
197 </sect2>
198
199 <sect2 role="content">
200 <title>Contents</title>
201
202 <segmentedlist>
203 <segtitle>Installed Programs</segtitle>
204 <segtitle>Installed Libraries</segtitle>
205 <segtitle>Installed Directories</segtitle>
206
207 <seglistitem>
208 <seg>Over 300 binaries and symlinks to scripts</seg>
209 <seg>None</seg>
210 <seg>/opt/texlive</seg>
211 </seglistitem>
212 </segmentedlist>
213
214 <variablelist>
215 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
216 <?dbfo list-presentation="list"?>
217 <?dbhtml list-presentation="table"?>
218
219 <varlistentry id="texlive-programs">
220 <term><command>TeX&nbsp;programs</command></term>
221 <listitem>
222 <para>included in the <application>TeX Live</application> package are
223 too numerous to individually list. Please refer to the individual
224 program man and html pages in the installation directory's 2011/index.html
225 directory.</para>
226 <indexterm zone="texlive texlive-programs">
227 <primary sortas="b-texlive-programs">TeX Live programs</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231 </variablelist>
232
233 </sect2>
234
235</sect1>
Note: See TracBrowser for help on using the repository browser.