[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
|
---|
[ed3707e] | 78 | initialize the new installation will be found.
|
---|
[fa3edfef] | 79 | </para>
|
---|
[eb38c8a] | 80 |
|
---|
[8a2cb97] | 81 | &lfs112_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">
|
---|
| 198 | <xref linkend="x-window-system"/>
|
---|
| 199 | </para>
|
---|
[d7f0b08] | 200 |
|
---|
[c30eed1e] | 201 | <!-- text for recommended libraries -->
|
---|
[d7f0b08] | 202 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 203 | href="../../xincludes/texrecommendlibs.xml"/>
|
---|
[eb38c8a] | 204 |
|
---|
[6153e75] | 205 | <!-- the following ensures jhalfs will set paths before running texlive -->
|
---|
| 206 |
|
---|
| 207 | <para role="recommended">
|
---|
| 208 | Furthermore, the instructions below assume you are using the layout
|
---|
| 209 | described in <xref linkend="tex-path"/>.
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
[eb38c8a] | 212 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c30eed1e] | 213 | <!-- text for optional deps -->
|
---|
[d7f0b08] | 214 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 215 | href="../../xincludes/texoptional.xml"/>
|
---|
[eb38c8a] | 216 |
|
---|
| 217 | <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
|
---|
[347e59c] | 218 | <!-- text for runtime deps, shared with tl-installer -->
|
---|
[d7f0b08] | 219 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 220 | href="../../xincludes/texruntime.xml"/>
|
---|
[eb38c8a] | 221 |
|
---|
| 222 | <para condition="html" role="usernotes">User Notes:
|
---|
[347e59c] | 223 | <ulink url="&blfs-wiki;/texlive"/></para>
|
---|
[eb38c8a] | 224 |
|
---|
| 225 | </sect2>
|
---|
| 226 |
|
---|
| 227 | <sect2 role="installation">
|
---|
[347e59c] | 228 | <title>Installation of TeX Live</title>
|
---|
[eb38c8a] | 229 |
|
---|
| 230 | <para>
|
---|
[347e59c] | 231 | Install TeX Live by running the following commands:
|
---|
[eb38c8a] | 232 | </para>
|
---|
| 233 |
|
---|
[26e8824] | 234 | <caution>
|
---|
[09a2590] | 235 | <para>
|
---|
[00a3154] | 236 | If you wish to upgrade to current <application>texlive</application>
|
---|
[1b32f1a] | 237 | on an older system where extra packages (<application>asymptote</application>,
|
---|
| 238 | <application>biber</application>, <application>dvisvgm</application>, or
|
---|
[26e8824] | 239 | <application>xindy</application>) have been installed, you will need to
|
---|
| 240 | reinstall those as well as fixing up your <literal>PATH</literal> for
|
---|
[ed3707e] | 241 | <literal>$TEXLIVE_PREFIX</literal>.
|
---|
[26e8824] | 242 | </para>
|
---|
| 243 | </caution>
|
---|
| 244 |
|
---|
[fa3edfef] | 245 | <para>
|
---|
| 246 | The shared libraries will be installed into a texlive directory.
|
---|
| 247 | As the <systemitem class="username">root</systemitem> user, add it to
|
---|
| 248 | your <filename>/etc/ld.so.conf</filename>:
|
---|
| 249 | </para>
|
---|
[f594857] | 250 |
|
---|
| 251 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
|
---|
[ed3707e] | 252 | <literal># Begin texlive addition
|
---|
[f594857] | 253 |
|
---|
[ed3707e] | 254 | $TEXLIVE_PREFIX/lib
|
---|
[f594857] | 255 |
|
---|
[ed3707e] | 256 | # End texlive addition</literal>
|
---|
[f594857] | 257 | EOF</userinput></screen>
|
---|
| 258 |
|
---|
| 259 | <note>
|
---|
| 260 | <para>
|
---|
[26e8824] | 261 | A successful install requires some texlive
|
---|
[f594857] | 262 | commands to be run as the root user, so we will export the TEXARCH
|
---|
| 263 | variable to let <systemitem class="username">root</systemitem> use it.
|
---|
| 264 | </para>
|
---|
| 265 | </note>
|
---|
| 266 |
|
---|
| 267 | <para>
|
---|
| 268 | Now, as a normal user:
|
---|
| 269 | </para>
|
---|
[00a3154] | 270 |
|
---|
[ed3707e] | 271 | <screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
|
---|
[5e61060f] | 272 |
|
---|
[eb38c8a] | 273 | mkdir texlive-build &&
|
---|
[ed3707e] | 274 | cd texlive-build &&
|
---|
| 275 |
|
---|
| 276 | ../configure \
|
---|
| 277 | --prefix=$TEXLIVE_PREFIX \
|
---|
| 278 | --bindir=$TEXLIVE_PREFIX/bin/$TEXARCH \
|
---|
| 279 | --datarootdir=$TEXLIVE_PREFIX \
|
---|
| 280 | --includedir=$TEXLIVE_PREFIX/include \
|
---|
| 281 | --infodir=$TEXLIVE_PREFIX/texmf-dist/doc/info \
|
---|
| 282 | --libdir=$TEXLIVE_PREFIX/lib \
|
---|
| 283 | --mandir=$TEXLIVE_PREFIX/texmf-dist/doc/man \
|
---|
| 284 | --disable-native-texlive-build \
|
---|
| 285 | --disable-static --enable-shared \
|
---|
| 286 | --disable-dvisvgm \
|
---|
| 287 | --with-system-cairo \
|
---|
| 288 | --with-system-fontconfig \
|
---|
| 289 | --with-system-freetype2 \
|
---|
| 290 | --with-system-gmp \
|
---|
| 291 | --with-system-graphite2 \
|
---|
| 292 | --with-system-harfbuzz \
|
---|
| 293 | --with-system-icu \
|
---|
| 294 | --with-system-libgs \
|
---|
| 295 | --with-system-libpaper \
|
---|
| 296 | --with-system-libpng \
|
---|
| 297 | --with-system-mpfr \
|
---|
| 298 | --with-system-pixman \
|
---|
| 299 | --with-system-zlib \
|
---|
[eb38c8a] | 300 | --with-banner-add=" - BLFS" &&
|
---|
| 301 |
|
---|
[00a3154] | 302 | make</userinput></screen>
|
---|
[eb38c8a] | 303 |
|
---|
[fa3edfef] | 304 | <para>
|
---|
[00a3154] | 305 | To test the results, issue: <command>make check</command>.
|
---|
[fa3edfef] | 306 | </para>
|
---|
[eb38c8a] | 307 |
|
---|
[fa3edfef] | 308 | <para>
|
---|
| 309 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 310 | </para>
|
---|
[eb38c8a] | 311 |
|
---|
[c74eb3a] | 312 | <!-- Editors, you can run 'make texlinks' in a DESTDIR by passing
|
---|
| 313 | DESTDIR#some/where -->
|
---|
[f594857] | 314 | <screen role="root"><userinput>make install-strip &&
|
---|
[ed3707e] | 315 | /sbin/ldconfig &&
|
---|
| 316 | make texlinks &&
|
---|
| 317 | mkdir -pv $TEXLIVE_PREFIX/tlpkg/TeXLive/ &&
|
---|
| 318 | install -v -m644 ../texk/tests/TeXLive/* $TEXLIVE_PREFIX/tlpkg/TeXLive/ &&
|
---|
| 319 | tar -xf ../../texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz -C $TEXLIVE_PREFIX/tlpkg</userinput></screen>
|
---|
[eb38c8a] | 320 |
|
---|
[f594857] | 321 | <note>
|
---|
| 322 | <para>
|
---|
| 323 | Only run <command>make texlinks</command> once. If it is rerun,
|
---|
| 324 | it can change all the program symlinks so that they point to
|
---|
| 325 | themselves and are useless.
|
---|
| 326 | </para>
|
---|
| 327 | </note>
|
---|
| 328 |
|
---|
[fa3edfef] | 329 | <para>
|
---|
| 330 | Now install the additional files as the
|
---|
| 331 | <systemitem class="username">root</systemitem> user:
|
---|
| 332 | </para>
|
---|
[eb38c8a] | 333 |
|
---|
[4107ac91] | 334 | <!-- if texmf does not need to be patched, remove && from first line,
|
---|
| 335 | close userinput, screen, comment pushd, patch, popd -->
|
---|
[ed3707e] | 336 | <screen role="root"><userinput>tar -xf ../../texlive-&texmf-version;-texmf.tar.xz -C $TEXLIVE_PREFIX --strip-components=1</userinput></screen>
|
---|
[f594857] | 337 |
|
---|
[00a3154] | 338 | <para>
|
---|
| 339 | It has been established by debian that the <command>python</command>
|
---|
| 340 | scripts in <filename class="directory">latex-make</filename> will work
|
---|
| 341 | with <command>python3</command>, so update them to invoke that by running
|
---|
| 342 | the following command as the <systemitem class="username">root</systemitem>
|
---|
| 343 | user:
|
---|
| 344 | </para>
|
---|
| 345 |
|
---|
[ed3707e] | 346 | <screen role="root"><userinput>for F in $TEXLIVE_PREFIX/texmf-dist/scripts/latex-make/*.py ; do
|
---|
[00a3154] | 347 | sed -i 's%/usr/bin/env python%/usr/bin/python3%' $F
|
---|
| 348 | done
|
---|
| 349 | </userinput></screen>
|
---|
| 350 |
|
---|
[fa3edfef] | 351 | <para>
|
---|
| 352 | Still as the <systemitem class="username">root</systemitem> user,
|
---|
[ed3707e] | 353 | initialize the new system (the commands <command>fmtutil-sys
|
---|
[fa3edfef] | 354 | --all</command> and <command>mtxrun --generate</command> will produce
|
---|
| 355 | a <emphasis>lot</emphasis> of output):
|
---|
| 356 | </para>
|
---|
[382aa90c] | 357 |
|
---|
[c74eb3a] | 358 | <!-- Editors, fmtutil-sys and mtxrun \-\-generate can apparently only be run on
|
---|
| 359 | a real install, as root. But mktexlsr can be run in a DESTDIR with
|
---|
| 360 | cd /YOUR/TEXMF/ROOT ; ls -LAR ./ >ls-R -->
|
---|
| 361 |
|
---|
[382aa90c] | 362 | <screen role="root"><userinput>mktexlsr &&
|
---|
[f594857] | 363 | fmtutil-sys --all &&
|
---|
| 364 | mtxrun --generate</userinput></screen>
|
---|
[eb38c8a] | 365 |
|
---|
[fa3edfef] | 366 | <para>
|
---|
| 367 | You can now proceed to <xref linkend="asymptote"/>,
|
---|
[26e8824] | 368 | <xref linkend="biber"/>, <xref linkend="dvisvgm"/> and / or <xref
|
---|
| 369 | linkend="xindy"/> if you wish to install them.
|
---|
[fa3edfef] | 370 | </para>
|
---|
[eb38c8a] | 371 |
|
---|
| 372 | </sect2>
|
---|
| 373 |
|
---|
| 374 | <sect2 role="commands">
|
---|
| 375 | <title>Command Explanations</title>
|
---|
| 376 |
|
---|
[d7f0b08] | 377 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 378 | href="../../xincludes/tex-prefix.xml"/>
|
---|
[eb38c8a] | 379 |
|
---|
[d7f0b08] | 380 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 381 | href="../../xincludes/tex-lib.xml"/>
|
---|
[eb38c8a] | 382 |
|
---|
| 383 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 384 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 385 |
|
---|
[d7f0b08] | 386 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 387 | href="../../xincludes/tex-shared.xml"/>
|
---|
[eb38c8a] | 388 |
|
---|
[d7f0b08] | 389 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 390 | href="../../xincludes/tex-system.xml"/>
|
---|
[30be81d] | 391 | <!--
|
---|
[d7f0b08] | 392 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[30be81d] | 393 | href="../../xincludes/tex-xpdf.xml"/>-->
|
---|
[eb38c8a] | 394 |
|
---|
[06fd9a2] | 395 | <para>
|
---|
| 396 | <command>--disable-dvisvgm</command>: As noted above, the shipped version
|
---|
| 397 | of dvisvgm, which has modified configuration files, cannot be built with
|
---|
| 398 | shared system libraries.
|
---|
| 399 | </para>
|
---|
| 400 |
|
---|
[eb38c8a] | 401 | <para>
|
---|
| 402 | <option>--without-x</option>: use this if you do not have Xorg installed.
|
---|
| 403 | </para>
|
---|
| 404 |
|
---|
[fbdfda1a] | 405 | <para>
|
---|
[fa3edfef] | 406 | <command>/sbin/ldconfig</command>: this has to be run here so that
|
---|
| 407 | <command>make texlinks</command> can use kpsewhich.
|
---|
[fbdfda1a] | 408 | </para>
|
---|
| 409 |
|
---|
[eb38c8a] | 410 | <para>
|
---|
[1a518e97] | 411 | <command>make texlinks</command> : this runs the texlinks.sh script
|
---|
[382aa90c] | 412 | to create symbolic links from formats to engines. In
|
---|
[eb38c8a] | 413 | practice, several of the targets such as <command>xetex</command> are now
|
---|
| 414 | separate binaries and for these it will report "file already exists".
|
---|
| 415 | </para>
|
---|
[f594857] | 416 |
|
---|
[eb38c8a] | 417 | <para>
|
---|
[ed3707e] | 418 | <command>tar -xf texlive-&texmf-version;-texmf.tar.xz -C $TEXLIVE_PREFIX --strip-components=1</command>:
|
---|
[eb38c8a] | 419 | the tarball contains the files for the texmf-dist directory, and because
|
---|
| 420 | of its size we do not want to waste time and space untarring it and then
|
---|
| 421 | copying the files.
|
---|
| 422 | </para>
|
---|
| 423 |
|
---|
[5e61060f] | 424 | <para>
|
---|
[1a518e97] | 425 | <command>install -v -m644 ../texk/tests/TeXLive/*
|
---|
[ed3707e] | 426 | $TEXLIVE_PREFIX/tlpkg/TeXLive/</command>: This puts the perl
|
---|
[f594857] | 427 | modules <filename>TLConfig.pm</filename> and <filename>TLUtils.pm</filename>
|
---|
| 428 | into the directory where the binary installer puts them - it is at the
|
---|
| 429 | start of the perl @INC@ PATH within texlive when installed using the above
|
---|
| 430 | configure switches. Without these modules, texlive is unusable.
|
---|
| 431 | </para>
|
---|
| 432 |
|
---|
| 433 | <para>
|
---|
[1a518e97] | 434 | <command>mktexlsr</command>: Create an <filename>ls-R</filename> file
|
---|
[f594857] | 435 | which lists what was installed - this is used by kpathsea to find files.
|
---|
| 436 | </para>
|
---|
| 437 |
|
---|
| 438 | <para>
|
---|
[17e976e3] | 439 | <command>fmtutil-sys --all</command>: This initializes the TeX formats,
|
---|
[f594857] | 440 | Metafont bases and Metapost mems.
|
---|
| 441 | </para>
|
---|
| 442 |
|
---|
| 443 | <para>
|
---|
[17e976e3] | 444 | <command>mtxrun --generate</command>: This initializes the ConTeXt system.
|
---|
[f594857] | 445 | </para>
|
---|
| 446 |
|
---|
[eb38c8a] | 447 | </sect2>
|
---|
| 448 |
|
---|
| 449 | <sect2 role="content">
|
---|
| 450 | <title>Contents</title>
|
---|
| 451 |
|
---|
| 452 | <segmentedlist>
|
---|
| 453 | <segtitle>Installed Programs</segtitle>
|
---|
| 454 | <segtitle>Installed Libraries</segtitle>
|
---|
| 455 | <segtitle>Installed Directories</segtitle>
|
---|
| 456 |
|
---|
| 457 | <seglistitem>
|
---|
| 458 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
[1fe05eb] | 459 | <seg>libkpathsea.so,
|
---|
| 460 | libptexenc.so,
|
---|
| 461 | libsynctex.so,
|
---|
[ed3707e] | 462 | libtexlua52.so,
|
---|
| 463 | libtexluajit.so
|
---|
| 464 | </seg>
|
---|
[1fe05eb] | 465 | <seg>$TEXLIVE_PREFIX/bin,
|
---|
[ed3707e] | 466 | $TEXLIVE_PREFIX/include,
|
---|
[1fe05eb] | 467 | $TEXLIVE_PREFIX/lib,
|
---|
[ed3707e] | 468 | $TEXLIVE_PREFIX/texmf-dist
|
---|
| 469 | </seg>
|
---|
[eb38c8a] | 470 | </seglistitem>
|
---|
| 471 | </segmentedlist>
|
---|
| 472 |
|
---|
| 473 | <variablelist>
|
---|
| 474 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 475 | <?dbfo list-presentation="list"?>
|
---|
| 476 | <?dbhtml list-presentation="table"?>
|
---|
| 477 |
|
---|
[347e59c] | 478 | <varlistentry id="texlive-programs">
|
---|
[eb38c8a] | 479 | <term><command>TeX programs</command></term>
|
---|
| 480 | <listitem>
|
---|
| 481 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 482 | href="../../xincludes/texprogs.xml"/>
|
---|
[347e59c] | 483 | <indexterm zone="texlive texlive-programs">
|
---|
| 484 | <primary sortas="b-texlive-programs">TeX Live programs</primary>
|
---|
[eb38c8a] | 485 | </indexterm>
|
---|
| 486 | </listitem>
|
---|
| 487 | </varlistentry>
|
---|
| 488 |
|
---|
[347e59c] | 489 | <varlistentry id="libkpathsea">
|
---|
[eb38c8a] | 490 | <term><filename class="libraryfile">libkpathsea.so</filename></term>
|
---|
| 491 | <listitem>
|
---|
| 492 | <para>
|
---|
[1e7ef03] | 493 | (kpathsearch) exists to look up a file in a list of directories
|
---|
[4c24eb0a] | 494 | and is used by <command>kpsewhich</command>
|
---|
[eb38c8a] | 495 | </para>
|
---|
[347e59c] | 496 | <indexterm zone="texlive libkpathsea">
|
---|
[eb38c8a] | 497 | <primary sortas="c-libkpathsea">libkpathsea.so</primary>
|
---|
| 498 | </indexterm>
|
---|
| 499 | </listitem>
|
---|
| 500 | </varlistentry>
|
---|
| 501 |
|
---|
[347e59c] | 502 | <varlistentry id="libptexenc">
|
---|
[eb38c8a] | 503 | <term><filename class="libraryfile">libptexenc.so</filename></term>
|
---|
| 504 | <listitem>
|
---|
| 505 | <para>
|
---|
[4c24eb0a] | 506 | is a library for Japanese pTeX (publishing TeX)
|
---|
[eb38c8a] | 507 | </para>
|
---|
[347e59c] | 508 | <indexterm zone="texlive libptexenc">
|
---|
[eb38c8a] | 509 | <primary sortas="c-libptexenc">libptexenc.so</primary>
|
---|
| 510 | </indexterm>
|
---|
| 511 | </listitem>
|
---|
| 512 | </varlistentry>
|
---|
[f594857] | 513 |
|
---|
| 514 | <varlistentry id="libsynctex">
|
---|
| 515 | <term><filename class="libraryfile">libsynctex.so</filename></term>
|
---|
| 516 | <listitem>
|
---|
| 517 | <para>
|
---|
[4c24eb0a] | 518 | is the SyncTeX (Synchronize TeXnology) parser library
|
---|
[f594857] | 519 | </para>
|
---|
| 520 | <indexterm zone="texlive libsynctex">
|
---|
| 521 | <primary sortas="c-libsynctex">libsynctex.so</primary>
|
---|
| 522 | </indexterm>
|
---|
| 523 | </listitem>
|
---|
| 524 | </varlistentry>
|
---|
| 525 |
|
---|
| 526 | <varlistentry id="libtexlua52">
|
---|
| 527 | <term><filename class="libraryfile">libtexlua52.so</filename></term>
|
---|
| 528 | <listitem>
|
---|
| 529 | <para>
|
---|
[4c24eb0a] | 530 | provides Lua 5.2, modified for use with LuaTeX
|
---|
[f594857] | 531 | </para>
|
---|
| 532 | <indexterm zone="texlive libtexlua52">
|
---|
| 533 | <primary sortas="c-libtexlua52">libtexlua52.so</primary>
|
---|
| 534 | </indexterm>
|
---|
| 535 | </listitem>
|
---|
| 536 | </varlistentry>
|
---|
| 537 |
|
---|
| 538 | <varlistentry id="libtexluajit">
|
---|
| 539 | <term><filename class="libraryfile">libtexluajit.so</filename></term>
|
---|
| 540 | <listitem>
|
---|
| 541 | <para>
|
---|
[4c24eb0a] | 542 | provides LuaJIT, modified for use with LuaJITTeX
|
---|
[f594857] | 543 | </para>
|
---|
| 544 | <indexterm zone="texlive libtexluajit">
|
---|
| 545 | <primary sortas="c-libtexluajit">libtexluajit.so</primary>
|
---|
| 546 | </indexterm>
|
---|
| 547 | </listitem>
|
---|
| 548 | </varlistentry>
|
---|
[eb38c8a] | 549 | </variablelist>
|
---|
| 550 |
|
---|
| 551 | </sect2>
|
---|
| 552 |
|
---|
| 553 | </sect1>
|
---|