[eb38c8a] | 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 |
|
---|
[347e59c] | 7 | <!ENTITY texlive-download-http " ">
|
---|
| 8 | <!ENTITY texlive-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
|
---|
| 9 | <!ENTITY texlive-md5sum "09ee265ff51637827559affc7304078c">
|
---|
| 10 | <!ENTITY texlive-size "40 MB">
|
---|
[eb38c8a] | 11 |
|
---|
[347e59c] | 12 | <!ENTITY texlive-buildsize "3.6 GB including the additional download">
|
---|
| 13 | <!ENTITY texlive-time "8.2 SBU including the additional download">
|
---|
[eb38c8a] | 14 |
|
---|
| 15 | <!ENTITY texlive-texmf-download-http " ">
|
---|
| 16 | <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
|
---|
| 17 | <!ENTITY texlive-texmf-md5sum "645a6f1d3a0ef4a9c279dae02588eab7">
|
---|
| 18 | <!ENTITY texlive-texmf-size "1.7 GB">
|
---|
| 19 |
|
---|
| 20 | ]>
|
---|
| 21 |
|
---|
| 22 |
|
---|
[347e59c] | 23 | <sect1 id="texlive" xreflabel="texlive-&texlive-version;">
|
---|
| 24 | <?dbhtml filename="texlive.html"?>
|
---|
[eb38c8a] | 25 |
|
---|
| 26 | <sect1info>
|
---|
| 27 | <othername>$LastChangedBy$</othername>
|
---|
| 28 | <date>$Date$</date>
|
---|
| 29 | </sect1info>
|
---|
| 30 |
|
---|
[347e59c] | 31 | <title>texlive-&texlive-version;-source</title>
|
---|
[eb38c8a] | 32 |
|
---|
[347e59c] | 33 | <indexterm zone="texlive">
|
---|
| 34 | <primary sortas="a-texlive">texlive</primary>
|
---|
[eb38c8a] | 35 | </indexterm>
|
---|
| 36 |
|
---|
| 37 | <sect2 role="package">
|
---|
[347e59c] | 38 | <title>Introduction to TeX Live from source</title>
|
---|
[eb38c8a] | 39 |
|
---|
[347e59c] | 40 | <para>Most of TeX Live can be built from source without a pre-existing
|
---|
| 41 | installation, but <application>xindy</application> (for indexing) needs
|
---|
| 42 | working versions of <command>latex</command> and <command>pdflatex</command>
|
---|
| 43 | when configure is run, and the testsuite and install for
|
---|
| 44 | <command>asy</command> (for vector graphics) will fail if TeX has not
|
---|
| 45 | already been installed. Additionally, <application>biber</application> is
|
---|
| 46 | not provided within the <application>texlive</application> source.</para>
|
---|
[eb38c8a] | 47 |
|
---|
[347e59c] | 48 | <para>All of those packages are dealt with on their own pages and can be
|
---|
| 49 | built after installing this package and proceeding to
|
---|
| 50 | <xref linkend="tex-path"/>.</para>
|
---|
[eb38c8a] | 51 |
|
---|
[bc4abeca] | 52 | &lfs77_checked;
|
---|
[eb38c8a] | 53 |
|
---|
| 54 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 55 | <itemizedlist spacing="compact">
|
---|
| 56 | <listitem>
|
---|
[347e59c] | 57 | <para>Download (HTTP): <ulink url="&texlive-download-http;"/></para>
|
---|
[eb38c8a] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[347e59c] | 60 | <para>Download (FTP): <ulink url="&texlive-download-ftp;"/></para>
|
---|
[eb38c8a] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[347e59c] | 63 | <para>Download MD5 sum: &texlive-md5sum;</para>
|
---|
[eb38c8a] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[347e59c] | 66 | <para>Download size: &texlive-size;</para>
|
---|
[eb38c8a] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[347e59c] | 69 | <para>Estimated disk space required: &texlive-buildsize;</para>
|
---|
[eb38c8a] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[347e59c] | 72 | <para>Estimated build time: &texlive-time;</para>
|
---|
[eb38c8a] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">Required Additional Download</bridgehead>
|
---|
| 77 |
|
---|
| 78 | <para>Much of the texlive environment (including scripts, documentation,
|
---|
| 79 | fonts and various other files) is not part of the source tarball. You must
|
---|
| 80 | download it separately. This will give you all of the additional files
|
---|
| 81 | which are provided by a full install of the binary version, there is no
|
---|
| 82 | realistic way to restrict which parts get installed.</para>
|
---|
| 83 |
|
---|
| 84 | <para>
|
---|
| 85 | Because of the size of this package, it is unlikely to be mirrored by
|
---|
| 86 | BLFS mirrors. In case of difficulty, go to http://www.ctan.org/mirrors/
|
---|
| 87 | to find a more-accessible mirror.
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <itemizedlist spacing="compact">
|
---|
[91b7b02] | 91 | <listitem>
|
---|
| 92 | <para>Download (HTTP): <ulink url="&texlive-texmf-download-http;"/></para>
|
---|
| 93 | </listitem>
|
---|
[eb38c8a] | 94 | <listitem>
|
---|
| 95 | <para>Download (FTP): <ulink url="&texlive-texmf-download-ftp;"/></para>
|
---|
| 96 | </listitem>
|
---|
| 97 | <listitem>
|
---|
| 98 | <para>Download MD5 sum: &texlive-texmf-md5sum;</para>
|
---|
| 99 | </listitem>
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>Download size: &texlive-texmf-size;</para>
|
---|
| 102 | </listitem>
|
---|
| 103 | </itemizedlist>
|
---|
| 104 |
|
---|
[347e59c] | 105 | <bridgehead renderas="sect3">TeX Live from source Dependencies</bridgehead>
|
---|
[eb38c8a] | 106 |
|
---|
| 107 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 108 | <para role="recommended">
|
---|
[c30eed1e] | 109 | <xref linkend="gs"/> (for dvisvgm - used by asymptote which provides a
|
---|
| 110 | mathematical coordinate-based framework for technical drawing),
|
---|
[eb38c8a] | 111 | <xref linkend="x-window-system"/>
|
---|
| 112 | </para>
|
---|
[d7f0b08] | 113 |
|
---|
[c30eed1e] | 114 | <!-- text for recommended libraries -->
|
---|
[d7f0b08] | 115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 116 | href="../../xincludes/texrecommendlibs.xml"/>
|
---|
[eb38c8a] | 117 |
|
---|
| 118 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c30eed1e] | 119 | <!-- text for optional deps -->
|
---|
[d7f0b08] | 120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 121 | href="../../xincludes/texoptional.xml"/>
|
---|
[eb38c8a] | 122 |
|
---|
| 123 | <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
|
---|
[347e59c] | 124 | <!-- text for runtime deps, shared with tl-installer -->
|
---|
[d7f0b08] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 126 | href="../../xincludes/texruntime.xml"/>
|
---|
[eb38c8a] | 127 |
|
---|
| 128 | <para condition="html" role="usernotes">User Notes:
|
---|
[347e59c] | 129 | <ulink url="&blfs-wiki;/texlive"/></para>
|
---|
[eb38c8a] | 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="installation">
|
---|
[347e59c] | 134 | <title>Installation of TeX Live</title>
|
---|
[eb38c8a] | 135 |
|
---|
| 136 | <para>
|
---|
[347e59c] | 137 | Install TeX Live by running the following commands:
|
---|
[eb38c8a] | 138 | </para>
|
---|
| 139 |
|
---|
[d7f0b08] | 140 | <!-- the configure switches should be identical to those in the
|
---|
| 141 | first part of texlive itself -->
|
---|
[91b7b02] | 142 | <screen><userinput>TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
|
---|
[eb38c8a] | 143 | mkdir texlive-build &&
|
---|
| 144 | cd texlive-build &&
|
---|
| 145 |
|
---|
| 146 | ../configure \
|
---|
| 147 | --prefix=/opt/texlive/&texlive-year; \
|
---|
| 148 | --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
|
---|
| 149 | --datarootdir=/opt/texlive/&texlive-year; \
|
---|
| 150 | --includedir=/usr/include \
|
---|
| 151 | --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
|
---|
| 152 | --libdir=/usr/lib \
|
---|
| 153 | --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
|
---|
| 154 | --disable-native-texlive-build \
|
---|
| 155 | --disable-static --enable-shared \
|
---|
| 156 | --with-system-cairo \
|
---|
| 157 | --with-system-fontconfig \
|
---|
| 158 | --with-system-freetype2 \
|
---|
| 159 | --with-system-graphite2 \
|
---|
| 160 | --with-system-harfbuzz \
|
---|
| 161 | --with-system-icu \
|
---|
| 162 | --with-system-libgs \
|
---|
[b448eac] | 163 | --with-system-libpaper \
|
---|
[eb38c8a] | 164 | --with-system-libpng \
|
---|
| 165 | --with-system-pixman \
|
---|
| 166 | --with-system-poppler \
|
---|
| 167 | --with-system-xpdf \
|
---|
| 168 | --with-system-zlib \
|
---|
| 169 | --with-banner-add=" - BLFS" &&
|
---|
| 170 | unset TEXARCH &&
|
---|
| 171 |
|
---|
| 172 | make</userinput></screen>
|
---|
| 173 |
|
---|
| 174 | <para>To test the results, issue: <command>make -k check</command>
|
---|
| 175 | One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea
|
---|
| 176 | has not yet been installed.</para>
|
---|
| 177 |
|
---|
| 178 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 179 | user:</para>
|
---|
| 180 |
|
---|
[91b7b02] | 181 | <screen role="root"><userinput>make install &&
|
---|
[eb38c8a] | 182 | make texlinks</userinput></screen>
|
---|
| 183 |
|
---|
| 184 | <para>And now, install the additional files as the
|
---|
| 185 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 186 |
|
---|
[91b7b02] | 187 | <screen role="root"><userinput>mkdir -pv /opt/texlive/&texlive-year; &&
|
---|
[c30eed1e] | 188 | tar -xf ../../texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
|
---|
[eb38c8a] | 189 |
|
---|
| 190 | <para>Now proceed to <xref linkend="tex-path"/>.</para>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | <sect2 role="commands">
|
---|
| 195 | <title>Command Explanations</title>
|
---|
| 196 |
|
---|
[d7f0b08] | 197 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 198 | href="../../xincludes/tex-prefix.xml"/>
|
---|
[eb38c8a] | 199 |
|
---|
[d7f0b08] | 200 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 201 | href="../../xincludes/tex-lib.xml"/>
|
---|
[eb38c8a] | 202 |
|
---|
| 203 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 204 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 205 |
|
---|
[d7f0b08] | 206 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 207 | href="../../xincludes/tex-shared.xml"/>
|
---|
[eb38c8a] | 208 |
|
---|
[d7f0b08] | 209 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 210 | href="../../xincludes/tex-system.xml"/>
|
---|
[eb38c8a] | 211 |
|
---|
[d7f0b08] | 212 | <!-- <para>
|
---|
| 213 | <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
|
---|
[eb38c8a] | 214 | a non-standard meaning, it tells <command>configure</command> to use the
|
---|
| 215 | system-installed <application>poppler</application> headers and library.
|
---|
| 216 | Again, omit this if you have not installed
|
---|
| 217 | <application>poppler</application>.
|
---|
[d7f0b08] | 218 | </para> -->
|
---|
| 219 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 220 | href="../../xincludes/tex-xpdf.xml"/>
|
---|
[eb38c8a] | 221 |
|
---|
| 222 | <para>
|
---|
| 223 | <option>--without-x</option>: use this if you do not have Xorg installed.
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
| 226 | <para>
|
---|
| 227 | <parameter>make texlinks</parameter> : this runs the texlinks.sh script
|
---|
| 228 | to create (or recreate) symbolic links from formats to engines. In
|
---|
| 229 | practice, several of the targets such as <command>xetex</command> are now
|
---|
| 230 | separate binaries and for these it will report "file already exists".
|
---|
| 231 | </para>
|
---|
| 232 | <para>
|
---|
| 233 | <parameter>tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</parameter>:
|
---|
| 234 | the tarball contains the files for the texmf-dist directory, and because
|
---|
| 235 | of its size we do not want to waste time and space untarring it and then
|
---|
| 236 | copying the files.
|
---|
| 237 | </para>
|
---|
| 238 |
|
---|
| 239 | </sect2>
|
---|
| 240 |
|
---|
| 241 | <sect2 role="content">
|
---|
| 242 | <title>Contents</title>
|
---|
| 243 |
|
---|
| 244 | <segmentedlist>
|
---|
| 245 | <segtitle>Installed Programs</segtitle>
|
---|
| 246 | <segtitle>Installed Libraries</segtitle>
|
---|
| 247 | <segtitle>Installed Directories</segtitle>
|
---|
| 248 |
|
---|
| 249 | <seglistitem>
|
---|
| 250 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
| 251 | <seg>libkpathsea.so, libptexenc.so</seg>
|
---|
| 252 | <seg>/opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/texmf-dist,
|
---|
| 253 | /usr/include/kpathsea, /usr/include/ptexenc</seg>
|
---|
| 254 | </seglistitem>
|
---|
| 255 | </segmentedlist>
|
---|
| 256 |
|
---|
| 257 | <variablelist>
|
---|
| 258 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 259 | <?dbfo list-presentation="list"?>
|
---|
| 260 | <?dbhtml list-presentation="table"?>
|
---|
| 261 |
|
---|
[347e59c] | 262 | <varlistentry id="texlive-programs">
|
---|
[eb38c8a] | 263 | <term><command>TeX programs</command></term>
|
---|
| 264 | <listitem>
|
---|
| 265 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 266 | href="../../xincludes/texprogs.xml"/>
|
---|
[347e59c] | 267 | <indexterm zone="texlive texlive-programs">
|
---|
| 268 | <primary sortas="b-texlive-programs">TeX Live programs</primary>
|
---|
[eb38c8a] | 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
[347e59c] | 273 | <varlistentry id="libkpathsea">
|
---|
[eb38c8a] | 274 | <term><filename class="libraryfile">libkpathsea.so</filename></term>
|
---|
| 275 | <listitem>
|
---|
| 276 | <para>
|
---|
| 277 | (kpathsearch) exists to look up a file in a list of directories.
|
---|
| 278 | </para>
|
---|
[347e59c] | 279 | <indexterm zone="texlive libkpathsea">
|
---|
[eb38c8a] | 280 | <primary sortas="c-libkpathsea">libkpathsea.so</primary>
|
---|
| 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
[347e59c] | 285 | <varlistentry id="libptexenc">
|
---|
[eb38c8a] | 286 | <term><filename class="libraryfile">libptexenc.so</filename></term>
|
---|
| 287 | <listitem>
|
---|
| 288 | <para>
|
---|
| 289 | is a library for Japanese pTeX (publishing TeX).
|
---|
| 290 | </para>
|
---|
[347e59c] | 291 | <indexterm zone="texlive libptexenc">
|
---|
[eb38c8a] | 292 | <primary sortas="c-libptexenc">libptexenc.so</primary>
|
---|
| 293 | </indexterm>
|
---|
| 294 | </listitem>
|
---|
| 295 | </varlistentry>
|
---|
| 296 | </variablelist>
|
---|
| 297 |
|
---|
| 298 | </sect2>
|
---|
| 299 |
|
---|
| 300 | </sect1>
|
---|