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