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