178.1. texlive-20260301
TeX, LaTeX, pdfTeX, XeTeX, LuaTeX, MetaPost, BibTeX and dvips from TeX Live 2026, with a curated texmf tree
| Version | 20260301, release 4 |
| Shelf | doctools — Documentation toolchains, man pages, markup converters and TeX typesetting |
| Phase | 42_graphics (Graphics Stack), 79 of 189 in build order |
| Licence | GPL-2.0-or-later AND LPPL-1.3c AND Knuth-CTAN |
| Homepage | https://tug.org/texlive/ |
| Build time | 15.7 SBU |
| Installed size | 756.3 MiB in 39585 files |
| Recipe | ports/core/doctools/texlive/kpkgbuild |
About
TeX Live is the TeX distribution: TeX, pdfTeX, XeTeX and LuaTeX, LaTeX, MetaPost, BibTeX, dvips, dvisvgm and the rest of the tools, with the macro packages and fonts they read. The port compiles every engine and program from the source tarball and ships a cut of upstream’s texmf tree, the runfiles of a fixed set of collections and the packages they depend on, with its formats, font maps and file databases generated by the binaries just built. LyX and TeXstudio name it in depends; texlive-doc ships the English documentation of the same cut.
Sources
texlive-20260301.tar.xz(94.8 MiB)
sha256cb120d314d3ceb23ac608af17ddd2c623afcf02331f400a0f25eead5b8ac1d70
upstream: https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2026/texlive-20260301-source.tar.xz
archive copy: sources-1/doctools--texlive-20260301.tar.xztexlive-20260301-texmf.tar.xz(4.6 GiB)
sha256349eb7c5c2c15333d77490a52934b053c6dcb88834f2224978f7a4edf67940e7
upstream: https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2026/texlive-20260301-texmf.tar.xz
archive copy: sources-1/doctools--texlive-20260301-texmf.tar.xztexlive-installer-20260301.tar.gz(5.6 MiB)
sha2565cc0703d6fe49f00a2932c4e3bcee37a11cc0a969ae9fcbf9cad6f0d984d6363
upstream: https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2026/install-tl-unx.tar.gz
archive copy: sources-1/doctools--texlive-installer-20260301.tar.gztexlive-tlpdb-20260301.tar.xz(1.5 MiB)
sha256ab2893e0fd26af7d87892a809947eff084c3d82d13ad16278e632b7afa8bdfe1
archive copy: sources-1/doctools--texlive-tlpdb-20260301.tar.xz
Dependencies
Depends on: perl, ghostscript, pkgconf, zlib, libpng, freetype2, fontconfig, gmp, mpfr, cairo, pixman, harfbuzz, graphite2, libgd, potrace, libpaper, icu, zziplib, perl-yaml-tiny, perl-file-homedir.
Required by (3): lyx, texlive-doc, texstudio.
Patches
build.sh applies these; kpkg applies nothing by itself.
dvisvgm-cxx20.patch— Makes dvisvgm compile as C++20, GCC’s default standard, since dvisvgm passes no-std:MemoryFontDataloses its deleted default constructor so its font data can be brace-initialised, the ligature table’su8literals become plain literals (under C++20 they arechar8_t, notchar), and Clipper’spt.Z != 0compares againstZType(0)to remove an ambiguous comparison. It also adds atoLigatureunit test. See u8 literals under C++20.texmfcnf.patch— Applied to the installed tree, not the source: setsTEXMFROOTintexmf-dist/web2c/texmf.cnfto/usr/shareinstead of$SELFAUTOPARENT, a path computed from where the binary sits, andTEXMFLOCALto$TEXMFROOT/texmf-local, so kpathsea finds the trees at/usr/share/texmf-dist,/usr/share/texmf-varand/usr/share/texmf-local.texmfmp-fix-format-specifier.patch— Changes the conversion forinopenand forinputstack[].namefieldfrom%dto%ldin the error messagescalledit()intexk/web2c/lib/texmfmp.cprints when the editor-call state is inconsistent.
Installation
From the repository root, inside the build container, this is the line kdosbuild runs for the port:
script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install texlive'
What kpkg does
kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/doctools/texlive.
1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.
cd /ports/core/doctools/texlive
echo 'cb120d314d3ceb23ac608af17ddd2c623afcf02331f400a0f25eead5b8ac1d70 texlive-20260301.tar.xz' | sha256sum -c -
echo '349eb7c5c2c15333d77490a52934b053c6dcb88834f2224978f7a4edf67940e7 texlive-20260301-texmf.tar.xz' | sha256sum -c -
echo '5cc0703d6fe49f00a2932c4e3bcee37a11cc0a969ae9fcbf9cad6f0d984d6363 texlive-installer-20260301.tar.gz' | sha256sum -c -
echo 'ab2893e0fd26af7d87892a809947eff084c3d82d13ad16278e632b7afa8bdfe1 texlive-tlpdb-20260301.tar.xz' | sha256sum -c -
2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.
SRC_ROOT=/var/cache/kpkg/work/texlive
SRC=$SRC_ROOT/texlive-20260301
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf texlive-20260301.tar.xz -C "$SRC" --strip-components=1
tar --no-same-permissions --warning=no-unknown-keyword -xf texlive-20260301-texmf.tar.xz -C "$SRC_ROOT"
tar --no-same-permissions --warning=no-unknown-keyword -xf texlive-installer-20260301.tar.gz -C "$SRC_ROOT"
tar --no-same-permissions --warning=no-unknown-keyword -xf texlive-tlpdb-20260301.tar.xz -C "$SRC_ROOT"
Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.
3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the recipe’s helpers group, _year, _mirror and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:
TL_ROOTS="collection-basic collection-latex collection-latexrecommended
collection-latexextra collection-fontsrecommended collection-fontutils
collection-luatex collection-xetex collection-metapost
collection-plaingeneric collection-mathscience collection-pictures
collection-pstricks collection-bibtexextra collection-binextra
collection-langenglish latexmk"
TEXMF_SRC="$SRC_ROOT/$name-$version-texmf"
ITL_SRC="$SRC_ROOT/install-tl-$version"
patch -p1 -i "$PORT_SRC/texmfmp-fix-format-specifier.patch"
patch -p1 -i "$PORT_SRC/dvisvgm-cxx20.patch"
mkdir build
cd build
../configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
--datarootdir=/usr/share \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-native-texlive-build \
--disable-multiplatform \
--disable-missing \
--enable-shared \
--disable-static \
--with-banner-add=/KDOS \
--without-x \
--disable-xdvik \
--disable-xindy \
--disable-xpdfopen \
--with-system-zlib \
--with-system-libpng \
--with-system-freetype2 \
--with-system-gmp \
--with-system-mpfr \
--with-system-cairo \
--with-system-pixman \
--with-system-gd \
--with-system-potrace \
--with-system-libpaper \
--with-system-icu \
--with-system-harfbuzz \
--with-system-graphite2 \
--with-system-zziplib
make
make DESTDIR="$PKG" install
cd ..
install -Dm644 "$ITL_SRC/LICENSE.TL" "$PKG/usr/share/licenses/$name/LICENSE.TL"
install -Dm644 "$ITL_SRC/LICENSE.CTAN" "$PKG/usr/share/licenses/$name/LICENSE.CTAN"
install -Dm644 texk/dvipdfm-x/COPYING "$PKG/usr/share/licenses/$name/COPYING"
install -Dm644 "$TEXMF_SRC/texmf-dist/doc/latex/base/lppl.txt" "$PKG/usr/share/licenses/$name/lppl.txt"
head -n 9 "$TEXMF_SRC/texmf-dist/tex/plain/base/plain.tex" > "$PKG/usr/share/licenses/$name/knuth.txt"
rm -f "$PKG/usr/bin/tlmgr" "$PKG/usr/share/man/man1/tlmgr.1"
rm -rf "$PKG/usr/share/texmf-dist/doc"
mkdir -p "$PKG/usr/share/tlpkg"
cp -r "$ITL_SRC/tlpkg/TeXLive" "$PKG/usr/share/tlpkg/"
perl -I"$ITL_SRC/tlpkg" - "$SRC_ROOT" "$TEXMF_SRC" "$PKG/usr/share" $TL_ROOTS <<'PERL'
use strict; use warnings;
use File::Basename qw(dirname);
use File::Copy qw(move);
use File::Path qw(make_path);
use TeXLive::TLPDB;
use TeXLive::TLUtils;
my ($dbroot, $from, $to, @roots) = @ARGV;
my $full = TeXLive::TLPDB->new();
$full->from_file("$dbroot/tlpkg/texlive.tlpdb", media => "local_uncompressed")
or die "cannot read $dbroot/tlpkg/texlive.tlpdb\n";
my (%sel, @queue);
@queue = @roots;
while (defined(my $p = shift @queue)) {
next if $sel{$p} || $p =~ /\.ARCH$/;
my $o = $full->get_package($p) or die "no package $p in the tlpdb\n";
$sel{$p} = $o;
push @queue, $o->depends;
}
my $sub = TeXLive::TLPDB->new();
$sub->add_tlpobj($full->get_package("00texlive.config"));
my $n = 0;
for my $p (sort keys %sel) {
my $o = $sel{$p};
$sub->add_tlpobj($o);
for my $f ($o->runfiles) {
next unless $f =~ m{^texmf-dist/};
-e "$from/$f" || -l "$from/$f" or die "$p names $f, which the texmf tarball does not hold\n";
make_path(dirname("$to/$f"));
unlink "$to/$f";
move("$from/$f", "$to/$f") or die "move $f: $!\n";
$n++;
}
for my $f ($o->docfiles) {
my $dest;
$dest = "$to/man/man$1/$2" if $f =~ m{^texmf-dist/doc/man/man(\d)/([^/]+\.\d)$};
$dest = "$to/info/$1" if $f =~ m{^texmf-dist/doc/info/([^/]+\.info)$};
next if !$dest || -e $dest;
make_path(dirname($dest));
move("$from/$f", $dest) or die "move $f: $!\n";
}
}
printf "texmf: %d packages, %d files\n", scalar(keys %sel), $n;
sub config {
my ($head, $dest, $cc, $post, @lines) = @_;
open(my $h, '<', "$to/$head") or die "$head: $!\n";
my @out = <$h>;
close $h;
make_path(dirname($dest));
open(my $o, '>', $dest) or die "$dest: $!\n";
print $o @out, @lines, @$post;
close $o or die "$dest: $!\n";
}
my $cfg = "$to/texmf-var/tex/generic/config";
config("texmf-dist/web2c/fmtutil-hdr.cnf", "$to/texmf-dist/web2c/fmtutil.cnf",
'#', [], $sub->fmtutil_cnf_lines);
config("texmf-dist/web2c/updmap-hdr.cfg", "$to/texmf-dist/web2c/updmap.cfg",
'#', [], $sub->updmap_cfg_lines);
config("texmf-dist/tex/generic/config/language.us", "$cfg/language.dat",
'%', [], $sub->language_dat_lines);
config("texmf-dist/tex/generic/config/language.us.def", "$cfg/language.def",
'%', ["%%% No changes may be made beyond this point.\n", "\n",
"\\uselanguage {USenglish} %%% This MUST be the last line of the file.\n"],
$sub->language_def_lines);
config("texmf-dist/tex/generic/config/language.us.lua", "$cfg/language.dat.lua",
'--', ["}\n"], $sub->language_lua_lines);
make_path("$to/tlpkg");
open(my $db, '>', "$to/tlpkg/texlive.tlpdb") or die "texlive.tlpdb: $!\n";
$sub->writeout($db);
close $db or die "texlive.tlpdb: $!\n";
PERL
rm -f "$PKG/usr/share/texmf-dist/scripts/texlive/tlmgr.pl" \
"$PKG/usr/share/texmf-dist/scripts/texlive/tlmgrgui.pl" \
"$PKG/usr/share/texmf-dist/scripts/pythontex/pythontex2.py" \
"$PKG/usr/share/texmf-dist/scripts/pythontex/depythontex2.py" \
"$PKG/usr/share/texmf-dist/scripts/texaccents/texaccents.sno"
find "$PKG/usr/share/texmf-dist" -name '*.jar' -printf '%h\n' | sort -u > "$SRC_ROOT/jardirs"
for l in "$PKG"/usr/bin/*; do
[ -L "$l" ] || continue
t=$(readlink -f "$l")
grep -qxF "${t%/*}" "$SRC_ROOT/jardirs" && rm -f "$l"
done
find "$PKG/usr/share/texmf-dist" -name '*.jar' -delete
patch -p1 -d "$PKG/usr/share" -i "$PORT_SRC/texmfcnf.patch"
export PATH="$PKG/usr/bin:$PATH"
export LD_LIBRARY_PATH="$PKG/usr/lib"
export TEXMFROOT="$PKG/usr/share"
export TEXMFCNF="$PKG/usr/share/texmf-dist/web2c"
export FORCE_SOURCE_DATE=1
texlinks -f "$PKG/usr/share/texmf-dist/web2c/fmtutil.cnf" "$PKG/usr/bin"
mktexlsr "$PKG/usr/share/texmf-dist" "$PKG/usr/share/texmf-var"
updmap-sys --nohash
fmtutil-sys --all
rm -f "$PKG"/usr/share/texmf-var/web2c/*.log "$PKG"/usr/share/texmf-var/web2c/*/*.log
mktexlsr "$PKG/usr/share/texmf-dist" "$PKG/usr/share/texmf-var"
install -d "$PKG/usr/share/fontconfig/conf.avail"
cat > "$PKG/usr/share/fontconfig/conf.avail/09-texlive-fonts.conf" <<'XML'
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<dir>/usr/share/texmf-dist/fonts/opentype</dir>
<dir>/usr/share/texmf-dist/fonts/truetype</dir>
</fontconfig>
XML
find "$PKG/usr/bin" -xtype l -delete
The switches, and why each is set:
--disable-native-texlive-build,--disable-multiplatform— Build for a distribution rather than for TeX Live’s own binary release. The native build is upstream’s default, and it refuses every--with-system-*library and a sharedlibkpathsea, and moves the manual and info pages undertexmf-dist/doc. Multiplatform, which follows the native setting unless given, puts the programs inbin/<platform>and the libraries inlib/<platform>instead of inbindirandlibdir.--disable-missing— Stop the configure when a requested program or feature would be disabled for a missing library, instead of building without it.--enable-shared— Build TeX Live’s libraries,libkpathseaandlibsynctexamong them, as shared libraries.--with-banner-add=/KDOS— Append/KDOSto the version string in every engine’s banner, so a log says whose build of TeX Live wrote it.--without-x,--disable-xdvik— Build no X programs: noxdvi, which needs the Xaw widget library (not a port), and no X window for METAFONT.--without-xturns offxdvikandxpdfopenby itself, as it does every package upstream marks as needing X;--disable-xdvikand--disable-xpdfopensay so explicitly. A TeX preview on this desktop is a PDF viewer.--disable-xindy— Do not build xindy, the index processor, which needs CLISP. CLISP is not a port. Upstream leaves xindy off unless asked; the flag keeps it off explicitly.--with-system-zlib,--with-system-libpng,--with-system-freetype2,--with-system-gmp,--with-system-mpfr,--with-system-cairo,--with-system-pixman,--with-system-gd,--with-system-potrace,--with-system-libpaper,--with-system-icu,--with-system-harfbuzz,--with-system-graphite2,--with-system-zziplib— Link these libraries from the tree instead of TeX Live’s copies underlibs/. Every one is a port independs. TeX Live’s own copies are built of TECkit and MPFI, which are not ports, of LuaJIT and Lua, and of pplib (LuaTeX’s PDF reader) and xpdf’s code (pdfTeX’s).
The common switches of each build system are explained in the Flag glossary.
4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/texlive, prunes what the image does not ship, lints the tree and rolls it reproducibly:
tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
--mtime=@$SOURCE_DATE_EPOCH \
--use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
-cf texlive-20260301-4.tar.xz -C "$PKG" .
5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/texlive, and runs the triggers its paths call for.
Contents
Installed programs: a2ping, a5toa4, adhocfilelist, afm2afm, afm2pl, afm2tfm, aleph, allcm, allec, allneeded, amstex, aom-fullref, arlatex, authorindex, autoinst, autosp, axohelp, bbl2bib, bbox, bg5+latex, bg5+pdflatex, bg5conv, bg5latex, bg5pdflatex, bibcop, bibdoiadd, bibexport, bibmradd, bibtex, bibtex8, bibtexu, biburl2doi, bibzbladd, bookshelf-listallfonts, bookshelf-mkfontsel, bundledoc, cachepic, cef5conv, cef5latex, cef5pdflatex, cefconv, ceflatex, cefpdflatex, cefsconv, cefslatex, cefspdflatex, cfftot1, checkcites, checklistings, chkdvifont, chklref, chktex, chkweb, citeproc-lua, cjk-gs-integrate, cllualatex, cluttex, clxelatex, convbkmk, ctan-o-mat, ctanbib, ctangle, ctanify, ctanupload, ctie, ctwill, ctwill-proofsort, ctwill-refsort, ctwill-twinx, cweave, de-macro, depythontex, detex, devnag, deweb, diadia, digestif, disdvi, dosepsbin, dt2dv, dtxgen, dv2dt, dvi2fax, dvi2tty, dviasm, dvibook, dviconcat, dvicopy, dvidvi, dvigif, dvihp, dviinfox, dvilj, dvilj2p, dvilj4, dvilj4l, dvilj6, dvilualatex, dvilualatex-dev, dviluatex, dvipdfm, dvipdfmx, dvipdft, dvipng, dvipos, dvips, dvired, dviselect, dvispc, dvisvgm, dvitodvi, dvitomp, dvitype, e2pall, ebb, ebong, edtx2dtx, eolang, epsffit, epspdf, epspdftk, epstopdf, eptex, etex, euptex, exceltex, explcheck, extconv, extractbb, extractres, fig4latex, findhyph, fmtutil, fmtutil-sys, fmtutil-user, fontinst, fragmaster, gbklatex, gbkpdflatex, getmapdl, gftodvi, gftopk, gftype, git-latexdiff, gregorio, gsftopk, hbf2gf, hishrink, histretch, hitex, ht, htlatex, htmex, httex, httexi, htxelatex, htxetex, hyperxmp-add-bytecount, includeres, inimf, initex, installfont-tl, jamo-normalize, jfmutil, kanji-config-updmap, kanji-config-updmap-sys, kanji-config-updmap-user, kanji-fontmap-creator, ketcindy, komkindex, kpseaccess, kpsepath, kpsereadlink, kpsestat, kpsetool, kpsewhere, kpsewhich, kpsexpand, l3build, l3sys-query, lacheck, latex, latex-dev, latex-git-log, latex-papersize, latex2man, latexdef, latexdiff, latexdiff-vc, latexfileversion, latexindent, latexminted, latexmk, latexpand, latexrevise, lily-glyph-commands, lily-image-commands, lily-rebuild-pdfs, listbib, listings-ext.sh, llmk, ltx2crossrefxml, ltx2unitxt, ltxfileinfo, ltximg, luafindfont, luahbtex, luajithbtex, luajittex, lualatex, lualatex-dev, luaotfload-tool, luatex, lwarpmk, mag, make4ht, makedtx, makeglossaries, makeglossaries-lite, makeindex, makejvf, markdown2tex, match_parens, mathspic, memoize-clean.pl, memoize-clean.py, memoize-extract.pl, memoize-extract.py, mendex, mf, mf-nowin, mf2pt1, mflua, mflua-nowin, mfluajit, mfluajit-nowin, mfplain, mft, mk4ht, mkgrkindex, mkindex, mkjobtexmf, mkocp, mkofm, mkpic, mkt1font, mktexfmt, mktexlsr, mktexmf, mktexpk, mktextfm, mmafm, mmpfb, mpost, mptopdf, msxlint, multibibliography, musixflx, musixtex, odvicopy, odvitype, ofm2opl, omfonts, opl2ofm, optex, optexcount, ot2kpx, otangle, otfinfo, otftotfm, otp2ocp, outocp, ovf2ovp, ovp2ovf, pagelayoutapi, pamphletangler, patgen, pbibtex, pdfatfi, pdfbook2, pdfcrop, pdfetex, pdfjam, pdflatex, pdflatex-dev, pdflatexpicscale, pdftex, pdftex-quiet, pdftosrc, pdfxup, pdvitomp, pdvitype, pedigree, perltex, pfarrei, pfb2pfa, pk2bm, pkfix, pkfix-helper, pktogf, pktype, pltotf, pmpost, pmxab, pmxchords, pn2pdf, pooltype, ppltotf, ppmcheckpdf, prepmx, ps2eps, ps2frag, ps2pk, ps4pdf, psbook, psjoin, pslatex, psnup, psresize, psselect, pst2pdf, pstops, ptekf, ptex2pdf, ptftopl, purifyeps, pygmentex, pythontex, r-mpost, r-pmpost, r-upmpost, repstopdf, rpdfcrop, rubibtex, rubikrotation, rumakeindex, rungs, runtexfile, runtexshebang, scor2prt, show-pdf-tags, simpdftex, sjisconv, sjislatex, sjispdflatex, spix, splitindex, sqltex, srcredact, sty2dtx, svn-multi, synctex, t1ascii, t1asm, t1binary, t1disasm, t1dotlessj, t1lint, t1mac, t1rawafm, t1reencode, t1testpage, t1unmac, t4ht, tangle, teckit_compile, tex, tex2aspc, tex4ebook, tex4ht, texblend, texconfig, texconfig-dialog, texconfig-sys, texcount, texdef, texdiff, texdirflatten, texdoc, texdoctk, texfindpkg, texfot, texhash, texlinks, texliveonfly, texloganalyser, texlogfilter, texlogsieve, texlua, texluac, texluajit, texluajitc, texprof, texprofile, textestvis, tftopl, thumbpdf, tie, tikztosvg, tlshell, tpic2pdftex, ttf2afm, ttf2kotexfont, ttf2pk, ttf2tfm, ttfdump, ttftotype42, twill, twill-refsort, typeoutfileinfo, typog-grep, ulqda, upbibtex, updmap, updmap-sys, updmap-user, updvitomp, updvitype, upmendex, upmpost, uppltotf, uptex, uptftopl, urlbst, vftovp, vlna, vpe, vpl2ovp, vpl2vpl, vptovf, weave, webquiz, wofm2opl, wopl2ofm, wordcount, wovf2ovp, wovp2ovf, xdvipdfmx, xdvipsk, xelatex, xelatex-dev, xelatex-unsafe, xetex, xetex-unsafe, xhlatex, xindex, xml2pmx, yplan.
Installed libraries: libkpathsea.so, libptexenc.so, libsynctex.so, libtexlua53.so, libtexluajit.so.
Installed directories: /usr/include/kpathsea, /usr/include/ptexenc, /usr/include/synctex, /usr/include/texlua53, /usr/include/texluajit, /usr/share/licenses/texlive, /usr/share/texmf-dist/asymptote, /usr/share/texmf-dist/bibtex, /usr/share/texmf-dist/chktex, /usr/share/texmf-dist/doc/latex/koma-script, /usr/share/texmf-dist/dvipdfmx, /usr/share/texmf-dist/dvips, /usr/share/texmf-dist/fonts, /usr/share/texmf-dist/hbf2gf, /usr/share/texmf-dist/makeindex, /usr/share/texmf-dist/metafont, /usr/share/texmf-dist/metapost, /usr/share/texmf-dist/mft, /usr/share/texmf-dist/psutils, /usr/share/texmf-dist/scripts, /usr/share/texmf-dist/source, /usr/share/texmf-dist/tex, /usr/share/texmf-dist/tex4ht, /usr/share/texmf-dist/texconfig, /usr/share/texmf-dist/texdoc, /usr/share/texmf-dist/texdoctk, /usr/share/texmf-dist/ttf2pk, /usr/share/texmf-dist/web2c, /usr/share/texmf-dist/xdvi, /usr/share/texmf-dist/xindy, /usr/share/texmf-var, /usr/share/tlpkg.
Short descriptions
a2ping |
convert between PS, EPS and PDF and other page description formats |
afm2afm |
reencode an afm file |
afm2pl |
convert AFM font metrics to TeX pl font metrics |
afm2tfm |
convert Adobe font metrics to TeX font metrics |
aleph |
extended TeX with Unicode and bidirectional typesetting support |
allcm |
force the most important Computer-Modern-fonts to be calculated |
allec |
force the most important ec-fonts to be calculated |
allneeded |
force the calculation of all fonts now needed |
amstex |
structured mathematical text formatting and typesetting |
arlatex |
archive a number of ancillary LaTeX files into a master .tex file |
autoinst |
wrapper around the LCDF TypeTools, for installing and using OpenType fonts in LaTeX. |
autosp |
preprocessor to generate note-spacing commands for MusiXTeX scores |
axohelp |
helper program for use of LaTeX package axodraw2 with pdflatex. |
bbl2bib |
convert thebibliography environment to a bib file |
bbox |
prints out the bounding box of a rawppm or rawpbm image |
bg5conv |
convert a TeX document in Big 5 encoding into `preprocessed' form. |
bibcop |
Style Checker and Fixer of BibTeX Files (.bib) |
bibdoiadd |
add DOI numbers to papers in a given bib file |
bibmradd |
add MR numbers to papers in a given bib file |
bibtex |
make a bibliography for (La)TeX |
bibtex8 |
8-bit Big BibTeX |
bibtexu |
UTF-8 Big BibTeX |
biburl2doi |
convert URLs pointing to doi.org to DOIs |
bibzbladd |
add Zbl numbers to papers in a given bib file |
bookshelf-listallfonts |
list all fonts known to LuaTeX with "interesting" features |
bookshelf-mkfontsel |
a script to populate "fontsel" directory and create "pickfont.tex" file for bookshelf package |
bundledoc |
bundle all the files needed by a LaTeX document |
cef5conv |
convert a TeX document in Big 5 encoding containing CEF macros into `preprocessed' form. |
cefconv |
convert a TeX document containing CEF macros into `preprocessed' form. |
cefsconv |
convert a TeX document in SJIS encoding containing CEF macros into `preprocessed' form. |
cfftot1 |
convert PostScript font from CFF to Type 1 |
chkdvifont |
CHecK DVI/tfm/font file and report information of FONTs |
chklref |
manual page for chklref 3.1.2 |
chktex |
finds typographic errors in LaTeX. |
chkweb |
runs the LaTeX parts of a CWEB file through chktex |
citeproc-lua |
make CSL citations and bibliography for LaTeX |
cluttex |
a tool for processing TeX files |
ctan-o-mat |
Validate and upload a package for CTAN |
ctanbib |
retrieve bibliographic information for packages hosted on CTAN. |
ctanify |
Prepare a package for upload to CTAN |
ctie |
merge or apply CWEB change files |
ctwill |
translate CWEB to TeX with mini-indexes |
detex |
a filter to strip TeX commands from a .tex file. |
devnag |
Devanagari for TeX preprocessor |
deweb |
strips away C & CWEB commands from CWEB sources |
disdvi |
`disassemble' a (p)TeX or XeTeX DVI file |
dosepsbin |
Extract PS/WMF/TIFF sections from DOS EPS binary files |
dt2dv |
convert a DTL text representation of a TeX DVI file to a binary DVI file |
dtxgen |
generate template for LaTeX self-extracting .dtx file |
dv2dt |
convert a binary TeX DVI file to DTL text representation |
dvi2fax |
convert a TeX DVI file to G3 fax format |
dvi2tty |
preview a TeX DVI file on an ordinary ASCII terminal |
dviasm |
a TeX utility program for editing DVI files directly |
dvibook |
rearrange pages in DVI file into signatures |
dviconcat |
concatenate DVI files |
dvicopy |
produce modified copy of DVI file |
dvidvi |
selects and/or re-arranges pages in a TeX dvi file |
dvihp |
convert a TeX DVI file to Hewlett-Packard PCL |
dvilj |
convert a TeX DVI file to PCL, for HP LaserJet printers |
dvipdfmx |
produce PDF files directly from DVI files |
dvipdft |
create thumbnail images for use with dvipdfm |
dvipng |
A DVI-to-PNG translator |
dvipos |
compute positions in a DVI file |
dvips |
convert a TeX DVI file to PostScript |
dvired |
print dvi-files |
dviselect |
extract pages from DVI files |
dvispc |
Modify a DVI file to be page-independent in specials |
dvisvgm |
converts DVI, EPS, and PDF files to the XML-based SVG format |
dvitodvi |
rearrange pages in a DVI file |
dvitomp |
convert a TeX DVI file to a MetaPost mpx file |
dvitype |
translate a dvi file for humans to read |
e2pall |
convert all EPS files in a LaTeX document to PDF |
edtx2dtx |
Convert .edtx into .dtx |
eolang |
Automated Editor of TeX Files that Use "eolang" Package |
epsffit |
fit encapsulated PostScript file (EPSF) into constrained size |
epstopdf |
convert an EPS file to PDF |
etex |
extended (plain) TeX |
extconv |
convert a TeX document in either Big 5+ or GBK encoding into `preprocessed' form. |
extractbb |
extract bounding box information from graphics files |
extractres |
filter to extract resources from a PostScript document |
findhyph |
find words hyphenated by TeX in a document |
fmtutil |
manage TeX formats and Metafont bases, per-user fmtutil-sys - manage TeX formats and Metafont bases, system-wide mktexfmt - create a TeX format or Metafont base |
fontinst |
utility to run TeX as fontinst |
gftodvi |
make proof sheets from generic font bitmap files |
gftopk |
convert generic font (gf) bitmap files to packed font (pk) files |
gftype |
verify and translate a generic font (gf) bitmap file to plain text |
git-latexdiff |
Call latexdiff on two Git revisions of a file |
gsftopk |
render a ghostscript font in TeX pk form |
hbf2gf |
convert a CJK bitmap font into subfonts usable by TeX and Omega. |
hyperxmp-add-bytecount |
adds/updates byteCount specification in XMP packet in PDF file. |
includeres |
filter to include resources in a PostScript document |
kpseaccess |
determine whether a file can be accessed |
kpsereadlink |
print contents of symbolic link |
kpsestat |
compute octal mode from mode of existing file |
kpsetool |
script to make teTeX-style kpsetool, kpsexpand, and kpsepath available |
kpsewhere |
Expanding kpsewhich to separately iterate over each texmf tree listed in $TEXMF. |
kpsewhich |
standalone path lookup and and expansion for kpathsea |
lacheck |
a consistency checker for LaTeX documents |
latex |
structured text formatting and typesetting |
latex-dev |
release candidate LaTeX testing |
latexdiff |
determine and markup differences between two latex files |
latexdiff-vc |
wrapper script that calls latexdiff for different versions of a file under version management (CVS, RCS or SVN) |
latexminted |
Python executable for the LaTeX minted package |
latexmk |
generate LaTeX document |
latexrevise |
selectively remove markup and text from latexdiff output |
llmk |
Light LaTeX Make |
ltx2crossrefxml |
create XML files for submitting to crossref.org |
ltx2unitxt |
convert LaTeX source fragment to plain (Unicode) text or simple html |
ltximg |
LaTeX environments to image and standalone files |
luafindfont |
retrieve font informations of all installed system and TeX fonts. |
luaotfload-tool |
generate and query the Luaotfload font names database |
luatex |
TeX extended with Lua as an embedded scripting language |
mag |
computes TeX fontsizes and magsteps |
makeglossaries |
Calls makeindex/xindy for LaTeX documents using glossaries package |
makeglossaries-lite |
Calls makeindex/xindy for LaTeX documents using glossaries package |
makeindex |
a general purpose, formatter-independent index processor |
makejvf |
Make Japanese VF file from Japanese TFM file |
markdown2tex |
convert .md files to .tex |
match_parens |
find mismatches of various brackets and quotes |
mendex |
Japanese index processor |
mf |
Metafont, a language for font and logo design |
mflua |
manual page for MFLua 2.71828182-1.0.1-alpha (TeX Live 2026) |
mft |
translate Metafont or MetaPost code to TeX for prettyprinting |
mkindex |
script to process LaTeX index and glossary files |
mkjobtexmf |
Generate a texmf tree for a particular job |
mkocp |
frontend to otp2ocp(1) |
mkofm |
front end to mktextfm(1) |
mkpic |
interface for making pictures with mfpic |
mktexlsr |
create ls-R databases |
mktexmf |
create a Metafont source file |
mktexpk |
create a PK file for a font |
mktextfm |
create a TFM file for a font |
mmafm |
creates AFM font metrics for multiple master fonts ' |
mmpfb |
creates single-master fonts from multiple master fonts ' |
mpost |
MetaPost, a system for creating graphics r-mpost, r-pmpost, r-upmpost - restricted MetaPost |
mptopdf |
convert MetaPost figures to PDF |
msxlint |
detects incorrectly formatted notes lines in a MusiXTeX source file. |
ofm2opl |
convert Omega and TeX font metric (ofm) files to property list (opl) files |
opl2ofm |
convert Omega and TeX property list (opl) files to font metric (ofm) files |
optex |
OPmac and Plain TeX for LuaHBTeX engine. |
ot2kpx |
extract kerning information from OpenType fonts |
otfinfo |
report information about OpenType fonts |
otftotfm |
create TeX font metrics from OpenType fonts |
otp2ocp |
convert Omega Translation Process files to Omega Compiled Process files |
outocp |
debug an OCP file |
ovf2ovp |
convert Omega and TeX virtual font (ovf) files to property list (ovp) files |
ovp2ovf |
convert Omega and TeX virtual property list (ovp) files to virtual font metric (ovf) files |
pagelayoutapi |
API for the pagelayout LaTeX class |
pamphletangler |
Extract code bits from LaTeX pamphlet files. |
patgen |
generate patterns for TeX hyphenation |
pbibtex |
make a (Japanese) bibliography for (La)TeX |
pdfatfi |
Help program for the LaTeX package attachfile2. |
pdfbook2 |
transform pdf files into booklets for double-sided printing |
pdfetex |
PDF output from e-TeX |
pdfjam |
A shell script for manipulating PDF files |
pdftex |
PDF output from TeX |
pdftosrc |
extract source file or stream from PDF file |
pdfxup |
n-up tool with reduced margins |
pedigree |
create a TeX file for pedigree from a csv file |
perltex |
enable LaTeX macros to be defined in terms of Perl code |
pfb2pfa |
convert a type1 pfb file (binary MSDOS) into a pfa (ASCII) |
pk2bm |
create a bitmap from a TeX pkfont |
pkfix-helper |
preprocess dvips-produced PostScript documents before passing them to pkfix |
pktogf |
convert packed font files to generic font files (both bitmaps) |
pktype |
verify and translate a packed font (pk) bitmap file to plain text |
pltotf |
convert a property list (pl) file to TeX font metric (tfm) format |
pmxab |
a MusiXTeX preprocessor |
pooltype |
display a WEB pool file |
ppltotf |
Create Japanese p font metric (JFM) |
ppmcheckpdf |
Image-based regression testing for LaTeX packages |
prepmx |
preprocessor for PMX, easy music typesetting program |
ps2eps |
convert PostScript to EPS (Encapsulated PostScript) files |
ps2frag |
obsolete shell script for the PSfrag system. |
ps2pk |
creates a TeX pkfont from a type1 PostScript font |
psbook |
rearrange pages in PostScript file into signatures |
psjoin |
psjoin |
pslatex |
utility to typeset LaTeX files using PostScript fonts |
psnup |
multiple pages per sheet |
psresize |
rescales and centers a document for new output paper size |
psselect |
select pages from a PostScript file |
pstops |
shuffle pages in a PostScript file |
ptekf |
p-enc Kanji Filter |
ptftopl |
Convert Japanese p font metric (JFM) files to property list |
purifyeps |
make an Encapsulated PostScript file work with both dvips and pdflatex |
rubibtex |
make a bibliography for (La)TeX using Russian letters as item names |
rumakeindex |
process a LaTeX index using Russian Cyrillic characters |
runtexfile |
running a LaTeX document and get the command sequence from the document itself |
scor2prt |
source-parts separation program for pmx, a MusiXTeX preprocessor |
show-pdf-tags |
show the internal Structure Tree of a tagged PDF file |
sjisconv |
convert a TeX document in SJIS encoding into `preprocessed' form. |
spix |
Compile a .tex file, executing commands that are set inside the file itself. |
splitindex |
manual page for splitindex 0.2a |
srcredact |
a program for redaction of text files |
sty2dtx |
Converts a LaTeX .sty file to a documented .dtx file |
synctex |
command line client tool to support the Synchronize TeXnology available in most TeX engines. |
t1ascii |
convert PostScript Type 1 font from binary to ASCII |
t1asm |
assemble PostScript Type 1 font |
t1binary |
convert PostScript Type 1 font from ASCII to binary |
t1disasm |
disassemble PostScript Type 1 font |
t1dotlessj |
create a dotless-j PostScript Type 1 font |
t1lint |
check a PostScript Type 1 font for correctness |
t1mac |
translate a PFA or PFB PostScript Type 1 font into Macintosh format |
t1rawafm |
produce raw AFM metrics from a PostScript Type 1 font |
t1reencode |
re-encode a PostScript Type 1 font |
t1testpage |
create a PostScript proof for a Type 1 font |
t1unmac |
translate a Mac PostScript Type 1 font into PFA or PFB format |
tangle |
translate a literate programming WEB to Pascal |
tex |
text formatting and typesetting |
tex2aspc |
converts conventional MusiXTeX scores to .aspc format for processing by autosp (1). |
texconfig |
configures teTeX or TeX Live texconfig-sys - configures teTeX or TeX Live system-wide |
texdiff |
Compares two (La)TeX documents to create a merged version showing changes, similar to that of 'Change Tracking' in some word processors. |
texdirflatten |
Collects all components of a (La)TeX file in a single output directory -- i.e., flattens its hierarchy. |
texdoc |
find & view documentation in TeX Live |
texdoctk |
GUI for easier access of TeX package and program documentations |
texfindpkg |
Query or install TeX packages and their dependencies |
texfot |
run TeX, filtering online transcript for interesting messages |
texlinks |
maintain symbolic links from format to engine |
texlogsieve |
filter and summarize LaTeX log files |
texprof |
A profiler for TeX source files |
texprofile |
Displaying the profile data collected by texprof. |
textestvis |
visual regression tests for LaTeX |
tftopl |
convert a TeX font metric (tfm) file to property list (pl) format |
thumbpdf |
generate thumbnail images for a PDF file created with pdftex |
tie |
merge or apply WEB change files |
tikztosvg |
Render TikZ diagrams to SVG. |
tpic2pdftex |
convert tpic specials for use by pdftex |
ttf2afm |
generate afm files for TrueType fonts for a given encoding |
ttf2pk |
convert a TrueType font into TeX's PK format |
ttf2tfm |
build TeX metric files from a TrueType font |
ttfdump |
Dumping the contents of a TrueType Font file |
ttftotype42 |
create PostScript Type 42 wrapper of TrueType font |
twill |
translate a literate programming WEB to TeX with mini-indexes |
typog-grep |
specialized grep for typog-inspect elements in LaTeX log files |
updmap |
manage TeX font maps updmap-sys - manage TeX font maps, system-wide updmap-user - manage TeX font maps, per-user |
upmendex |
Multilingual index processor |
vftovp |
convert TeX virtual font (vf) files to virtual property lists (vpl) |
vlna |
adds tilde after each non-syllabic preposition |
vptovf |
convert TeX virtual property list (vpl) files to virtual font metric (vf) files |
weave |
translate a literate programming WEB to TeX |
webquiz |
$1 n[an-margin] level n[rst2man-indent-level] level margin: n[rst2man-indentn[rst2man-indent-level]] - n[rst2man-indent0] n[rst2man-indent1] |
xdvipsk |
convert a TeX DVI file to PostScript (dvips extexsion) |
xetex |
extended TeX with native support for Unicode, OpenType, system fonts |
xetex-unsafe |
run xe(la)latex unsafely |
kpathsea.pc |
Kpathsea filename lookup library |
ptexenc.pc |
Ptexenc pTeX encoding library |
synctex.pc |
SyncTeX parser library |
texlua53.pc |
Lua 5.3, modified for use with LuaTeX |
texluajit.pc |
LuaJIT, modified for use with LuaJITTeX |
Notes
- Four sources. The source tarball builds the programs. The texmf tarball is the whole of upstream’s
texmf-dist. The installer tarball suppliestlpkg/TeXLive, the Perl modules that read the package database and thatupdmapandfmtutilload from$TEXMFROOT/tlpkg. The tlpdb bundle istexlive.tlpdbat the release’s svn tag, the database the texmf tarball was cut from, made by hand; how to rebuild it is in A bundle no tool writes. - The cut. The Perl block after
make installreads the tlpdb, takes the closure ofTL_ROOTSover each package’s dependencies, and moves each selected package’s runfiles from the texmf tarball into the package, over any copymake installwrote. A runfile the tarball lacks stops the build. The selected packages’ manual pages and info files go to/usr/share/manand/usr/share/info, never over a pagemake installalready put there. It then writesfmtutil.cnf,updmap.cfg,language.dat,language.defandlanguage.dat.luafrom the selected packages alone, because a format, a font map or a hyphenation file named for a package that is not shipped makesfmtutilandupdmapfail. The selected packages’ records become/usr/share/tlpkg/texlive.tlpdb, whichtexdocreads to map a package to its documentation and refuses to run without. texlive-doc cuts the same closure, so the two recipes must name the sameTL_ROOTS. - Licence texts.
/usr/share/licenses/texliveholds one text for each part of thelicenseline: the GPL 2 text the source tree carries astexk/dvipdfm-x/COPYING, LaTeX’slppl.txtfor LPPL 1.3c, and for Knuth’s terms the opening nine lines ofplain.tex, which state them. The installer’sLICENSE.TLandLICENSE.CTANsit beside them, since every package of the tree keeps its own terms. They are installed before the cut, because the cut movesplain.texout of the texmf tree. - No tlmgr. The package manager is kpkg;
tlmgrinstalls from the network into a tree kpkg owns.build.shremoves thetlmgrcommand, its manual page, andtlmgr.plandtlmgrgui.plfrom the texmf tree. Whatmake installputs undertexmf-dist/docis removed too; texlive-doc ships the documentation from the tlpdb’s own file lists. - Scripts with no interpreter.
build.shalso removes pythontex’spythontex2.pyanddepythontex2.py, whose#!namespython2, andtexaccents.sno, whose#!namessnobol4. Neither interpreter is a port; installed, each would be an executable script that cannot start, andtesting/linkcheck.pyfails a built tree holding a script whose interpreter noPATHdirectory has. - No prebuilt Java. The texmf tree carries upstream-built
.jarfiles (arara, bib2gls, texosquery, pax and others), and nothing here compiles them.build.shdeletes every.jar, and every command in/usr/binthat is a link into a directory holding one, since kept, such a command would run a binary nobody here built; see What is built from source. The Type 1, OpenType and TFM font files of the tree are shipped as upstream made them, under the same page’s exemption for compiled font data. - Formats are generated at build time. With
PATH,LD_LIBRARY_PATH,TEXMFROOTandTEXMFCNFpointing at the package,build.shrunstexlinks,mktexlsr,updmap-sysandfmtutil-sys --allwith the binaries just built, removes the logs, and rebuilds the file databases (ls-R) last.FORCE_SOURCE_DATE=1makes every engine stamp its formats withSOURCE_DATE_EPOCHinstead of the time of the build. Finallyfind -xtype l -deleteremoves the commandstexlinksandmake installlinked to scripts of packages outside the cut. - TeX fonts are available to fontconfig, not enabled. XeTeX finds a font by name only through fontconfig.
09-texlive-fonts.confnames the tree’sopentypeandtruetypedirectories and is installed inconf.avail, not linked intoconf.d: enabled, it would put every math and text face of the tree in every application’s font list. A document that names its fonts by file, as Latin Modern and LaTeX’s TU font definitions do, needs neither. - latexindent’s modules.
latexindentloadsYAML::TinyandFile::HomeDirwhen it starts and dies without them; perl-yaml-tiny and perl-file-homedir are independsfor it.