[eb38c8a] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 |
|
---|
[396abe0] | 6 | <!-- utah -->
|
---|
| 7 | <!ENTITY texlive-download-http "https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
|
---|
[347e59c] | 8 | <!ENTITY texlive-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
|
---|
[396abe0] | 9 | <!ENTITY texlive-md5sum "4f05bbd93004175275f50215a4c51608">
|
---|
| 10 | <!ENTITY texlive-size "65 MB">
|
---|
[eb38c8a] | 11 |
|
---|
[396abe0] | 12 | <!ENTITY texlive-buildsize "8.0 GB including the additional download and the tests, 7.3 GB installed">
|
---|
| 13 | <!ENTITY texlive-time "3.9 SBU including the additional download and the tests, building with parallelism=4">
|
---|
[eb38c8a] | 14 |
|
---|
[396abe0] | 15 | <!-- utah -->
|
---|
| 16 | <!ENTITY texlive-texmf-download-http "https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
|
---|
[f594857] | 17 | <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texmf-version;-texmf.tar.xz">
|
---|
[396abe0] | 18 | <!ENTITY texlive-texmf-md5sum "9806803f703b6ce4d9845c46806a7a08">
|
---|
| 19 | <!ENTITY texlive-texmf-size "3.4 GB">
|
---|
[eb38c8a] | 20 |
|
---|
[396abe0] | 21 | <!ENTITY texlive-tlpdb-download-http "https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/&texlive-year;/texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz">
|
---|
[322aff6] | 22 | <!ENTITY texlive-tlpdb-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz">
|
---|
[396abe0] | 23 | <!ENTITY texlive-tlpdb-md5sum "1084c37c6775b567ed7babd71e612f75">
|
---|
| 24 | <!ENTITY texlive-tlpdb-size "3.1 MB">
|
---|
[322aff6] | 25 |
|
---|
[eb38c8a] | 26 | ]>
|
---|
| 27 |
|
---|
| 28 |
|
---|
[347e59c] | 29 | <sect1 id="texlive" xreflabel="texlive-&texlive-version;">
|
---|
| 30 | <?dbhtml filename="texlive.html"?>
|
---|
[eb38c8a] | 31 |
|
---|
| 32 | <sect1info>
|
---|
| 33 | <date>$Date$</date>
|
---|
| 34 | </sect1info>
|
---|
| 35 |
|
---|
[347e59c] | 36 | <title>texlive-&texlive-version;-source</title>
|
---|
[eb38c8a] | 37 |
|
---|
[347e59c] | 38 | <indexterm zone="texlive">
|
---|
| 39 | <primary sortas="a-texlive">texlive</primary>
|
---|
[eb38c8a] | 40 | </indexterm>
|
---|
| 41 |
|
---|
| 42 | <sect2 role="package">
|
---|
[347e59c] | 43 | <title>Introduction to TeX Live from source</title>
|
---|
[eb38c8a] | 44 |
|
---|
[396abe0] | 45 | <note>
|
---|
| 46 | <para>
|
---|
| 47 | According to <ulink url="https://www.tug.org/historic/"/> the master
|
---|
| 48 | site in France only supports ftp and rsync. Now that ftp is generally
|
---|
| 49 | deprecated, that page has links to mirrors, some of which support https,
|
---|
| 50 | e.g. in Utah and Chemntiz as well as in China. If you prefer to use a
|
---|
| 51 | different mirror from the example links here, you will need to navigate
|
---|
| 52 | to systems/historic/texlive/&texlive-year; or systems/texlive/&texlive-year;
|
---|
| 53 | as the case may be.
|
---|
| 54 | <!-- the chinese mirros do not use a 'historic' subdirectory. -->
|
---|
| 55 | </para>
|
---|
| 56 | </note>
|
---|
| 57 |
|
---|
[fa3edfef] | 58 | <para>
|
---|
| 59 | Most of TeX Live can be built from source without a pre-existing
|
---|
| 60 | installation, but <application>xindy</application> (for indexing) needs
|
---|
| 61 | working versions of <command>latex</command> and
|
---|
| 62 | <command>pdflatex</command> when configure is run, and the testsuite
|
---|
| 63 | and install for <command>asy</command> (for vector graphics) will fail
|
---|
| 64 | if TeX has not already been installed. Additionally,
|
---|
| 65 | <application>biber</application> is not provided within the
|
---|
[26e8824] | 66 | <application>texlive</application> source and the version of
|
---|
| 67 | <application>dvisvgm</application> in the
|
---|
| 68 | <application>texlive</application> tree cannot be built
|
---|
| 69 | if shared system libraries are used.
|
---|
[fa3edfef] | 70 | </para>
|
---|
| 71 |
|
---|
[26e8824] | 72 | <para>
|
---|
| 73 | </para>
|
---|
[fa3edfef] | 74 | <para>
|
---|
| 75 | All of those packages are dealt with on their own pages and can be
|
---|
| 76 | built after installing this package. If you have not already done so, you
|
---|
| 77 | should start at <xref linkend="tex-path"/> so that the final commands to
|
---|
| 78 | initialise the new installation will be found.
|
---|
| 79 | </para>
|
---|
[eb38c8a] | 80 |
|
---|
[ccc5a50] | 81 | &lfs111_checked;
|
---|
[eb38c8a] | 82 |
|
---|
| 83 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 84 | <itemizedlist spacing="compact">
|
---|
| 85 | <listitem>
|
---|
[fa3edfef] | 86 | <para>
|
---|
| 87 | Download (HTTP): <ulink url="&texlive-download-http;"/>
|
---|
| 88 | </para>
|
---|
[eb38c8a] | 89 | </listitem>
|
---|
| 90 | <listitem>
|
---|
[fa3edfef] | 91 | <para>
|
---|
| 92 | Download (FTP): <ulink url="&texlive-download-ftp;"/>
|
---|
| 93 | </para>
|
---|
[eb38c8a] | 94 | </listitem>
|
---|
| 95 | <listitem>
|
---|
[fa3edfef] | 96 | <para>
|
---|
| 97 | Download MD5 sum: &texlive-md5sum;
|
---|
| 98 | </para>
|
---|
[eb38c8a] | 99 | </listitem>
|
---|
| 100 | <listitem>
|
---|
[fa3edfef] | 101 | <para>
|
---|
| 102 | Download size: &texlive-size;
|
---|
| 103 | </para>
|
---|
[eb38c8a] | 104 | </listitem>
|
---|
| 105 | <listitem>
|
---|
[fa3edfef] | 106 | <para>
|
---|
| 107 | Estimated disk space required: &texlive-buildsize;
|
---|
| 108 | </para>
|
---|
[eb38c8a] | 109 | </listitem>
|
---|
| 110 | <listitem>
|
---|
[fa3edfef] | 111 | <para>
|
---|
| 112 | Estimated build time: &texlive-time;
|
---|
| 113 | </para>
|
---|
[eb38c8a] | 114 | </listitem>
|
---|
| 115 | </itemizedlist>
|
---|
| 116 |
|
---|
[5e61060f] | 117 | <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
|
---|
[eb38c8a] | 118 |
|
---|
[fa3edfef] | 119 | <para>
|
---|
| 120 | Much of the texlive environment (including scripts, documentation,
|
---|
| 121 | fonts, and various other files) is not part of the source tarball.
|
---|
| 122 | You must download it separately. This will give you all of the
|
---|
| 123 | additional files which are provided by a full install of the binary
|
---|
| 124 | version, there is no realistic way to restrict which parts get
|
---|
| 125 | installed.
|
---|
| 126 | </para>
|
---|
[eb38c8a] | 127 |
|
---|
| 128 | <para>
|
---|
| 129 | Because of the size of this package, it is unlikely to be mirrored by
|
---|
| 130 | BLFS mirrors. In case of difficulty, go to http://www.ctan.org/mirrors/
|
---|
| 131 | to find a more-accessible mirror.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <itemizedlist spacing="compact">
|
---|
[91b7b02] | 135 | <listitem>
|
---|
[fa3edfef] | 136 | <para>
|
---|
| 137 | Download (HTTP): <ulink url="&texlive-texmf-download-http;"/>
|
---|
| 138 | </para>
|
---|
[91b7b02] | 139 | </listitem>
|
---|
[eb38c8a] | 140 | <listitem>
|
---|
[fa3edfef] | 141 | <para>
|
---|
| 142 | Download (FTP): <ulink url="&texlive-texmf-download-ftp;"/>
|
---|
| 143 | </para>
|
---|
[eb38c8a] | 144 | </listitem>
|
---|
| 145 | <listitem>
|
---|
[fa3edfef] | 146 | <para>
|
---|
| 147 | Download MD5 sum: &texlive-texmf-md5sum;
|
---|
| 148 | </para>
|
---|
[eb38c8a] | 149 | </listitem>
|
---|
| 150 | <listitem>
|
---|
[fa3edfef] | 151 | <para>
|
---|
| 152 | Download size: &texlive-texmf-size;
|
---|
| 153 | </para>
|
---|
[eb38c8a] | 154 | </listitem>
|
---|
[8558044] | 155 | </itemizedlist>
|
---|
[322aff6] | 156 |
|
---|
| 157 | <para>
|
---|
| 158 | From the 2019 year, the tlpdb database of the packages within texlive is
|
---|
| 159 | no-longer installed with the source. But <command>texdoc</command> needs
|
---|
| 160 | a cache file derived from this (and will create the cache on its first
|
---|
| 161 | run).
|
---|
| 162 | </para>
|
---|
| 163 |
|
---|
| 164 | <itemizedlist spacing="compact">
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
| 167 | Download (HTTP): <ulink url="&texlive-tlpdb-download-http;"/>
|
---|
| 168 | </para>
|
---|
| 169 | </listitem>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
| 172 | Download (FTP): <ulink url="&texlive-tlpdb-download-ftp;"/>
|
---|
| 173 | </para>
|
---|
| 174 | </listitem>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
| 177 | Download MD5 sum: &texlive-tlpdb-md5sum;
|
---|
| 178 | </para>
|
---|
| 179 | </listitem>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>
|
---|
| 182 | Download size: &texlive-tlpdb-size;
|
---|
| 183 | </para>
|
---|
| 184 | </listitem>
|
---|
| 185 |
|
---|
[396abe0] | 186 | <!-- <listitem>
|
---|
[fa3edfef] | 187 | <para>
|
---|
| 188 | Required patch: <ulink url=
|
---|
[00a3154] | 189 | "&patch-root;/texlive-&texlive-version;-upstream_fixes-1.patch"/>
|
---|
[fa3edfef] | 190 | </para>
|
---|
[396abe0] | 191 | </listitem>-->
|
---|
[eb38c8a] | 192 | </itemizedlist>
|
---|
| 193 |
|
---|
[347e59c] | 194 | <bridgehead renderas="sect3">TeX Live from source Dependencies</bridgehead>
|
---|
[eb38c8a] | 195 |
|
---|
| 196 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 197 | <para role="recommended">
|
---|
[7ab0957e] | 198 | <xref linkend="gs"/> <emphasis>including
|
---|
[06fd9a2] | 199 | <filename>libgs.so</filename></emphasis>, <!--(for dvisvgm, which is used by e.g.
|
---|
[fa3edfef] | 200 | <xref role="nodep" linkend="asymptote"/>); still referenced for dynamic loading,
|
---|
[06fd9a2] | 201 | even without dvisvgm - e.fg. by dvipsk -->
|
---|
[eb38c8a] | 202 | <xref linkend="x-window-system"/>
|
---|
| 203 | </para>
|
---|
[d7f0b08] | 204 |
|
---|
[c30eed1e] | 205 | <!-- text for recommended libraries -->
|
---|
[d7f0b08] | 206 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 207 | href="../../xincludes/texrecommendlibs.xml"/>
|
---|
[eb38c8a] | 208 |
|
---|
[6153e75] | 209 | <!-- the following ensures jhalfs will set paths before running texlive -->
|
---|
| 210 |
|
---|
| 211 | <para role="recommended">
|
---|
| 212 | Furthermore, the instructions below assume you are using the layout
|
---|
| 213 | described in <xref linkend="tex-path"/>.
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
[eb38c8a] | 216 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c30eed1e] | 217 | <!-- text for optional deps -->
|
---|
[d7f0b08] | 218 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 219 | href="../../xincludes/texoptional.xml"/>
|
---|
[eb38c8a] | 220 |
|
---|
| 221 | <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
|
---|
[347e59c] | 222 | <!-- text for runtime deps, shared with tl-installer -->
|
---|
[d7f0b08] | 223 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 224 | href="../../xincludes/texruntime.xml"/>
|
---|
[eb38c8a] | 225 |
|
---|
| 226 | <para condition="html" role="usernotes">User Notes:
|
---|
[347e59c] | 227 | <ulink url="&blfs-wiki;/texlive"/></para>
|
---|
[eb38c8a] | 228 |
|
---|
| 229 | </sect2>
|
---|
| 230 |
|
---|
| 231 | <sect2 role="installation">
|
---|
[347e59c] | 232 | <title>Installation of TeX Live</title>
|
---|
[eb38c8a] | 233 |
|
---|
| 234 | <para>
|
---|
[347e59c] | 235 | Install TeX Live by running the following commands:
|
---|
[eb38c8a] | 236 | </para>
|
---|
| 237 |
|
---|
[26e8824] | 238 | <caution>
|
---|
[09a2590] | 239 | <para>
|
---|
[00a3154] | 240 | If you wish to upgrade to current <application>texlive</application>
|
---|
[26e8824] | 241 | on an older system where extra packages (<application>asymptote</application>.
|
---|
| 242 | <application>biber</application>, <application>dvisvgm</application> or
|
---|
| 243 | <application>xindy</application>) have been installed, you will need to
|
---|
| 244 | reinstall those as well as fixing up your <literal>PATH</literal> for
|
---|
| 245 | <literal>/opt/texlive/&texlive-year;</literal>.
|
---|
| 246 | </para>
|
---|
| 247 | </caution>
|
---|
| 248 |
|
---|
[fa3edfef] | 249 | <para>
|
---|
| 250 | The shared libraries will be installed into a texlive directory.
|
---|
| 251 | As the <systemitem class="username">root</systemitem> user, add it to
|
---|
| 252 | your <filename>/etc/ld.so.conf</filename>:
|
---|
| 253 | </para>
|
---|
[f594857] | 254 |
|
---|
| 255 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
|
---|
| 256 | <literal># Begin texlive &texlive-year; addition
|
---|
| 257 |
|
---|
| 258 | /opt/texlive/&texlive-year;/lib
|
---|
| 259 |
|
---|
| 260 | # End texlive &texlive-year; addition</literal>
|
---|
| 261 | EOF</userinput></screen>
|
---|
| 262 |
|
---|
| 263 | <note>
|
---|
| 264 | <para>
|
---|
[26e8824] | 265 | A successful install requires some texlive
|
---|
[f594857] | 266 | commands to be run as the root user, so we will export the TEXARCH
|
---|
| 267 | variable to let <systemitem class="username">root</systemitem> use it.
|
---|
| 268 | </para>
|
---|
| 269 | </note>
|
---|
| 270 |
|
---|
| 271 | <para>
|
---|
| 272 | Now, as a normal user:
|
---|
| 273 | </para>
|
---|
[00a3154] | 274 |
|
---|
| 275 | <screen><userinput>export TEXARCH=$(uname -m |
|
---|
| 276 | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
|
---|
[5e61060f] | 277 |
|
---|
[eb38c8a] | 278 | mkdir texlive-build &&
|
---|
| 279 | cd texlive-build &&
|
---|
[26e8824] | 280 |
|
---|
[00a3154] | 281 | ../configure \
|
---|
| 282 | --prefix=/opt/texlive/&texlive-year; \
|
---|
| 283 | --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
|
---|
| 284 | --datarootdir=/opt/texlive/&texlive-year; \
|
---|
| 285 | --includedir=/opt/texlive/&texlive-year;/include \
|
---|
| 286 | --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
|
---|
| 287 | --libdir=/opt/texlive/&texlive-year;/lib \
|
---|
| 288 | --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
|
---|
| 289 | --disable-native-texlive-build \
|
---|
| 290 | --disable-static --enable-shared \
|
---|
| 291 | --disable-dvisvgm \
|
---|
| 292 | --with-system-cairo \
|
---|
| 293 | --with-system-fontconfig \
|
---|
| 294 | --with-system-freetype2 \
|
---|
| 295 | --with-system-gmp \
|
---|
| 296 | --with-system-graphite2 \
|
---|
| 297 | --with-system-harfbuzz \
|
---|
| 298 | --with-system-icu \
|
---|
| 299 | --with-system-libgs \
|
---|
| 300 | --with-system-libpaper \
|
---|
| 301 | --with-system-libpng \
|
---|
| 302 | --with-system-mpfr \
|
---|
| 303 | --with-system-pixman \
|
---|
| 304 | --with-system-zlib \
|
---|
[eb38c8a] | 305 | --with-banner-add=" - BLFS" &&
|
---|
| 306 |
|
---|
[00a3154] | 307 | make</userinput></screen>
|
---|
[eb38c8a] | 308 |
|
---|
[fa3edfef] | 309 | <para>
|
---|
[00a3154] | 310 | To test the results, issue: <command>make check</command>.
|
---|
[fa3edfef] | 311 | </para>
|
---|
[eb38c8a] | 312 |
|
---|
[fa3edfef] | 313 | <para>
|
---|
| 314 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 315 | </para>
|
---|
[eb38c8a] | 316 |
|
---|
[c74eb3a] | 317 | <!-- Editors, you can run 'make texlinks' in a DESTDIR by passing
|
---|
| 318 | DESTDIR#some/where -->
|
---|
[f594857] | 319 | <screen role="root"><userinput>make install-strip &&
|
---|
[95d0a04] | 320 | /sbin/ldconfig &&
|
---|
[fbdfda1a] | 321 | make texlinks &&
|
---|
[e0906079] | 322 | mkdir -pv /opt/texlive/&texlive-year;/tlpkg/TeXLive/ &&
|
---|
[322aff6] | 323 | install -v -m644 ../texk/tests/TeXLive/* /opt/texlive/&texlive-year;/tlpkg/TeXLive/ &&
|
---|
[d6a4617d] | 324 | tar -xf ../../texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz -C /opt/texlive/&texlive-year;/tlpkg</userinput></screen>
|
---|
[eb38c8a] | 325 |
|
---|
[f594857] | 326 | <note>
|
---|
| 327 | <para>
|
---|
| 328 | Only run <command>make texlinks</command> once. If it is rerun,
|
---|
| 329 | it can change all the program symlinks so that they point to
|
---|
| 330 | themselves and are useless.
|
---|
| 331 | </para>
|
---|
| 332 | </note>
|
---|
| 333 |
|
---|
[fa3edfef] | 334 | <para>
|
---|
| 335 | Now install the additional files as the
|
---|
| 336 | <systemitem class="username">root</systemitem> user:
|
---|
| 337 | </para>
|
---|
[eb38c8a] | 338 |
|
---|
[4107ac91] | 339 | <!-- if texmf does not need to be patched, remove && from first line,
|
---|
| 340 | close userinput, screen, comment pushd, patch, popd -->
|
---|
[c74eb3a] | 341 | <screen role="root"><userinput>tar -xf ../../texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
|
---|
[f594857] | 342 |
|
---|
[00a3154] | 343 | <para>
|
---|
| 344 | It has been established by debian that the <command>python</command>
|
---|
| 345 | scripts in <filename class="directory">latex-make</filename> will work
|
---|
| 346 | with <command>python3</command>, so update them to invoke that by running
|
---|
| 347 | the following command as the <systemitem class="username">root</systemitem>
|
---|
| 348 | user:
|
---|
| 349 | </para>
|
---|
| 350 |
|
---|
| 351 | <screen role="root"><userinput>for F in /opt/texlive/&texlive-year;/texmf-dist/scripts/latex-make/*.py ; do
|
---|
| 352 | sed -i 's%/usr/bin/env python%/usr/bin/python3%' $F
|
---|
| 353 | done
|
---|
| 354 | </userinput></screen>
|
---|
| 355 |
|
---|
[fa3edfef] | 356 | <para>
|
---|
| 357 | Still as the <systemitem class="username">root</systemitem> user,
|
---|
| 358 | initialise the new system (the commands <command>fmtutil-sys
|
---|
| 359 | --all</command> and <command>mtxrun --generate</command> will produce
|
---|
| 360 | a <emphasis>lot</emphasis> of output):
|
---|
| 361 | </para>
|
---|
[382aa90c] | 362 |
|
---|
[c74eb3a] | 363 | <!-- Editors, fmtutil-sys and mtxrun \-\-generate can apparently only be run on
|
---|
| 364 | a real install, as root. But mktexlsr can be run in a DESTDIR with
|
---|
| 365 | cd /YOUR/TEXMF/ROOT ; ls -LAR ./ >ls-R -->
|
---|
| 366 |
|
---|
[382aa90c] | 367 | <screen role="root"><userinput>mktexlsr &&
|
---|
[f594857] | 368 | fmtutil-sys --all &&
|
---|
| 369 | mtxrun --generate</userinput></screen>
|
---|
[eb38c8a] | 370 |
|
---|
[fa3edfef] | 371 | <para>
|
---|
| 372 | You can now proceed to <xref linkend="asymptote"/>,
|
---|
[26e8824] | 373 | <xref linkend="biber"/>, <xref linkend="dvisvgm"/> and / or <xref
|
---|
| 374 | linkend="xindy"/> if you wish to install them.
|
---|
[fa3edfef] | 375 | </para>
|
---|
[eb38c8a] | 376 |
|
---|
| 377 | </sect2>
|
---|
| 378 |
|
---|
| 379 | <sect2 role="commands">
|
---|
| 380 | <title>Command Explanations</title>
|
---|
| 381 |
|
---|
[d7f0b08] | 382 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 383 | href="../../xincludes/tex-prefix.xml"/>
|
---|
[eb38c8a] | 384 |
|
---|
[d7f0b08] | 385 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 386 | href="../../xincludes/tex-lib.xml"/>
|
---|
[eb38c8a] | 387 |
|
---|
| 388 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 389 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 390 |
|
---|
[d7f0b08] | 391 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 392 | href="../../xincludes/tex-shared.xml"/>
|
---|
[eb38c8a] | 393 |
|
---|
[d7f0b08] | 394 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 395 | href="../../xincludes/tex-system.xml"/>
|
---|
[30be81d] | 396 | <!--
|
---|
[d7f0b08] | 397 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[30be81d] | 398 | href="../../xincludes/tex-xpdf.xml"/>-->
|
---|
[eb38c8a] | 399 |
|
---|
[06fd9a2] | 400 | <para>
|
---|
| 401 | <command>--disable-dvisvgm</command>: As noted above, the shipped version
|
---|
| 402 | of dvisvgm, which has modified configuration files, cannot be built with
|
---|
| 403 | shared system libraries.
|
---|
| 404 | </para>
|
---|
| 405 |
|
---|
[eb38c8a] | 406 | <para>
|
---|
| 407 | <option>--without-x</option>: use this if you do not have Xorg installed.
|
---|
| 408 | </para>
|
---|
| 409 |
|
---|
[fbdfda1a] | 410 | <para>
|
---|
[fa3edfef] | 411 | <command>/sbin/ldconfig</command>: this has to be run here so that
|
---|
| 412 | <command>make texlinks</command> can use kpsewhich.
|
---|
[fbdfda1a] | 413 | </para>
|
---|
| 414 |
|
---|
[eb38c8a] | 415 | <para>
|
---|
[1a518e97] | 416 | <command>make texlinks</command> : this runs the texlinks.sh script
|
---|
[382aa90c] | 417 | to create symbolic links from formats to engines. In
|
---|
[eb38c8a] | 418 | practice, several of the targets such as <command>xetex</command> are now
|
---|
| 419 | separate binaries and for these it will report "file already exists".
|
---|
| 420 | </para>
|
---|
[f594857] | 421 |
|
---|
[eb38c8a] | 422 | <para>
|
---|
[1a518e97] | 423 | <command>tar -xf texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</command>:
|
---|
[eb38c8a] | 424 | the tarball contains the files for the texmf-dist directory, and because
|
---|
| 425 | of its size we do not want to waste time and space untarring it and then
|
---|
| 426 | copying the files.
|
---|
| 427 | </para>
|
---|
| 428 |
|
---|
[5e61060f] | 429 | <para>
|
---|
[1a518e97] | 430 | <command>install -v -m644 ../texk/tests/TeXLive/*
|
---|
| 431 | /opt/texlive/&texlive-year;/tlpkg/TeXLive/</command>: This puts the perl
|
---|
[f594857] | 432 | modules <filename>TLConfig.pm</filename> and <filename>TLUtils.pm</filename>
|
---|
| 433 | into the directory where the binary installer puts them - it is at the
|
---|
| 434 | start of the perl @INC@ PATH within texlive when installed using the above
|
---|
| 435 | configure switches. Without these modules, texlive is unusable.
|
---|
| 436 | </para>
|
---|
| 437 |
|
---|
| 438 | <para>
|
---|
[1a518e97] | 439 | <command>mktexlsr</command>: Create an <filename>ls-R</filename> file
|
---|
[f594857] | 440 | which lists what was installed - this is used by kpathsea to find files.
|
---|
| 441 | </para>
|
---|
| 442 |
|
---|
| 443 | <para>
|
---|
[17e976e3] | 444 | <command>fmtutil-sys --all</command>: This initializes the TeX formats,
|
---|
[f594857] | 445 | Metafont bases and Metapost mems.
|
---|
| 446 | </para>
|
---|
| 447 |
|
---|
| 448 | <para>
|
---|
[17e976e3] | 449 | <command>mtxrun --generate</command>: This initializes the ConTeXt system.
|
---|
[f594857] | 450 | </para>
|
---|
| 451 |
|
---|
[eb38c8a] | 452 | </sect2>
|
---|
| 453 |
|
---|
| 454 | <sect2 role="content">
|
---|
| 455 | <title>Contents</title>
|
---|
| 456 |
|
---|
| 457 | <segmentedlist>
|
---|
| 458 | <segtitle>Installed Programs</segtitle>
|
---|
| 459 | <segtitle>Installed Libraries</segtitle>
|
---|
| 460 | <segtitle>Installed Directories</segtitle>
|
---|
| 461 |
|
---|
| 462 | <seglistitem>
|
---|
| 463 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
[f594857] | 464 | <seg>libkpathsea.so, libptexenc.so, libsynctex.so, libtexlua52.so,
|
---|
| 465 | libtexluajit.so</seg>
|
---|
| 466 | <seg>/opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/include,
|
---|
| 467 | /opt/texlive/&texlive-year;/lib, /opt/texlive/&texlive-year;/texmf-dist</seg>
|
---|
[eb38c8a] | 468 | </seglistitem>
|
---|
| 469 | </segmentedlist>
|
---|
| 470 |
|
---|
| 471 | <variablelist>
|
---|
| 472 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 473 | <?dbfo list-presentation="list"?>
|
---|
| 474 | <?dbhtml list-presentation="table"?>
|
---|
| 475 |
|
---|
[347e59c] | 476 | <varlistentry id="texlive-programs">
|
---|
[eb38c8a] | 477 | <term><command>TeX programs</command></term>
|
---|
| 478 | <listitem>
|
---|
| 479 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 480 | href="../../xincludes/texprogs.xml"/>
|
---|
[347e59c] | 481 | <indexterm zone="texlive texlive-programs">
|
---|
| 482 | <primary sortas="b-texlive-programs">TeX Live programs</primary>
|
---|
[eb38c8a] | 483 | </indexterm>
|
---|
| 484 | </listitem>
|
---|
| 485 | </varlistentry>
|
---|
| 486 |
|
---|
[347e59c] | 487 | <varlistentry id="libkpathsea">
|
---|
[eb38c8a] | 488 | <term><filename class="libraryfile">libkpathsea.so</filename></term>
|
---|
| 489 | <listitem>
|
---|
| 490 | <para>
|
---|
[1e7ef03] | 491 | (kpathsearch) exists to look up a file in a list of directories
|
---|
[4c24eb0a] | 492 | and is used by <command>kpsewhich</command>
|
---|
[eb38c8a] | 493 | </para>
|
---|
[347e59c] | 494 | <indexterm zone="texlive libkpathsea">
|
---|
[eb38c8a] | 495 | <primary sortas="c-libkpathsea">libkpathsea.so</primary>
|
---|
| 496 | </indexterm>
|
---|
| 497 | </listitem>
|
---|
| 498 | </varlistentry>
|
---|
| 499 |
|
---|
[347e59c] | 500 | <varlistentry id="libptexenc">
|
---|
[eb38c8a] | 501 | <term><filename class="libraryfile">libptexenc.so</filename></term>
|
---|
| 502 | <listitem>
|
---|
| 503 | <para>
|
---|
[4c24eb0a] | 504 | is a library for Japanese pTeX (publishing TeX)
|
---|
[eb38c8a] | 505 | </para>
|
---|
[347e59c] | 506 | <indexterm zone="texlive libptexenc">
|
---|
[eb38c8a] | 507 | <primary sortas="c-libptexenc">libptexenc.so</primary>
|
---|
| 508 | </indexterm>
|
---|
| 509 | </listitem>
|
---|
| 510 | </varlistentry>
|
---|
[f594857] | 511 |
|
---|
| 512 | <varlistentry id="libsynctex">
|
---|
| 513 | <term><filename class="libraryfile">libsynctex.so</filename></term>
|
---|
| 514 | <listitem>
|
---|
| 515 | <para>
|
---|
[4c24eb0a] | 516 | is the SyncTeX (Synchronize TeXnology) parser library
|
---|
[f594857] | 517 | </para>
|
---|
| 518 | <indexterm zone="texlive libsynctex">
|
---|
| 519 | <primary sortas="c-libsynctex">libsynctex.so</primary>
|
---|
| 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
| 524 | <varlistentry id="libtexlua52">
|
---|
| 525 | <term><filename class="libraryfile">libtexlua52.so</filename></term>
|
---|
| 526 | <listitem>
|
---|
| 527 | <para>
|
---|
[4c24eb0a] | 528 | provides Lua 5.2, modified for use with LuaTeX
|
---|
[f594857] | 529 | </para>
|
---|
| 530 | <indexterm zone="texlive libtexlua52">
|
---|
| 531 | <primary sortas="c-libtexlua52">libtexlua52.so</primary>
|
---|
| 532 | </indexterm>
|
---|
| 533 | </listitem>
|
---|
| 534 | </varlistentry>
|
---|
| 535 |
|
---|
| 536 | <varlistentry id="libtexluajit">
|
---|
| 537 | <term><filename class="libraryfile">libtexluajit.so</filename></term>
|
---|
| 538 | <listitem>
|
---|
| 539 | <para>
|
---|
[4c24eb0a] | 540 | provides LuaJIT, modified for use with LuaJITTeX
|
---|
[f594857] | 541 | </para>
|
---|
| 542 | <indexterm zone="texlive libtexluajit">
|
---|
| 543 | <primary sortas="c-libtexluajit">libtexluajit.so</primary>
|
---|
| 544 | </indexterm>
|
---|
| 545 | </listitem>
|
---|
| 546 | </varlistentry>
|
---|
[eb38c8a] | 547 | </variablelist>
|
---|
| 548 |
|
---|
| 549 | </sect2>
|
---|
| 550 |
|
---|
| 551 | </sect1>
|
---|