ubuntuのtexlive

目次

texlive-fullというパッケージもあったけれど、かなり大きいのでとりあえずtexliveだけを入れていた。しばらくぶりでlualatexを使おうとしたらいろいろ不足していて、追加することになった。その顛末。

texliveパッケージでインストールされたもの

Start-Date: 2020-12-21  21:51:30
Commandline: /usr/sbin/synaptic
Requested-By: adachi (1000)
Install:
 tex-common:amd64 (6.13, automatic),
 texlive-latex-base:amd64 (2019.20200218-1, automatic),
 t1utils:amd64 (1.41-3, automatic),
 lmodern:amd64 (2.004.5-6, automatic),
 texlive-base:amd64 (2019.20200218-1, automatic),
 libptexenc1:amd64 (2019.20190605.51237-3build2, automatic),
 texlive:amd64 (2019.20200218-1),
 texlive-fonts-recommended:amd64 (2019.20200218-1, automatic),
 dvisvgm:amd64 (2.8.1-1build1, automatic),
 libzzip-0-13:amd64 (0.13.62-3.2ubuntu1, automatic),
 libtexluajit2:amd64 (2019.20190605.51237-3build2, automatic),
 tipa:amd64 (2:1.3-20, automatic),
 tex-gyre:amd64 (20180621-3, automatic),
 fonts-lmodern:amd64 (2.004.5-6, automatic),
 texlive-binaries:amd64 (2019.20190605.51237-3build2, automatic),
 fonts-texgyre:amd64 (20180621-3, automatic),
 libtexlua53:amd64 (2019.20190605.51237-3build2, automatic),
 libteckit0:amd64 (2.5.8+ds2-5ubuntu2, automatic),
 texlive-latex-recommended:amd64 (2019.20200218-1, automatic)
End-Date: 2020-12-21  21:51:54

上は zcat /var/log/apt/history.log.5.gz の出力から拾ったもの

dpkg では"tex"が"text"の一部に入っているので、面倒だし、"tex"のないパッケージも含まれるので、あまり役に立たない。

$ sudo dpkg -l|grep tex|grep -v text
ii  tex-common                                 6.13                             all          common infrastructure for building and installing TeX
ii  texlive-latex-base                         2019.20200218-1                  all          TeX Live: LaTeX fundamental packages

ii  texlive-base                               2019.20200218-1                  all          TeX Live: Essential programs and files
ii  libptexenc1:amd64                          2019.20190605.51237-3build2      amd64        TeX Live: pTeX encoding library
ii  texlive                                    2019.20200218-1                  all          TeX Live: A decent selection of the TeX Live packages
ii  texlive-fonts-recommended                  2019.20200218-1                  all          TeX Live: Recommended fonts

ii  libtexluajit2:amd64                        2019.20190605.51237-3build2      amd64        TeX Live: LuaJIT, modified for use with LuaJITTeX
ii  tex-gyre                                   20180621-3                       all          scalable PostScript and OpenType fonts based on URW Fonts
ii  texlive-binaries                           2019.20190605.51237-3build2      amd64        Binaries for TeX Live
ii  fonts-texgyre                              20180621-3                       all          OpenType fonts based on URW Fonts
ii  libtexlua53:amd64                          2019.20190605.51237-3build2      amd64        TeX Live: Lua 5.3, modified for use with LuaTeX

ii  libsynctex2:amd64                          2019.20190605.51237-3build2      amd64        TeX Live: SyncTeX parser library
ii  texlive-latex-recommended                  2019.20200218-1                  all          TeX Live: LaTeX recommended packages

lualatexコマンドの出すerrorその1

adachi@ebook:$ lualatex sat30202.tex 
This is LuaTeX, Version 1.10.0 (TeX Live 2019/Debian) 
 restricted system commands enabled.
(./sat30202.tex
LaTeX2e <2020-02-02> patch level 2
[\directlua]:1: module 'luaotfload-main' not found:
	no field package.preload['luaotfload-main']
	[kpse lua searcher] file not found: 'luaotfload-main'
	[kpse C searcher] file not found: 'luaotfload-main'
Error in luaotfload: reverting to OT1 L3 programming layer <2020-02-14>

! LaTeX Error: File `jlreq.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name: X

jlreqを探します。

adachi@ebook:$ apt search jlreq
ソート中... 完了
全文検索... 完了  
texlive-lang-japanese/focal,focal 2019.20200218-1 all  TeX Live: Japanese

texlive-lang-japaneseをインストール

texlive-lang-japaneseをインストール。自動でたくさんついてくる。

Start-Date: 2021-04-30  09:16:59
Commandline: /usr/sbin/synaptic
Requested-By: adachi (1000)
Install:
 latex-cjk-japanese:amd64 (4.8.4+git20170127-2, automatic),
 latex-cjk-chinese:amd64 (4.8.4+git20170127-2, automatic),
 fonts-tlwg-purisa-otf:amd64 (1:0.7.1-3, automatic),
 texlive-font-utils:amd64 (2019.202000218-1, automatic),
 fonts-tlwg-typewriter-otf:amd64 (1:0.7.1-3, automatic),
 javascript-common:amd64 (11, automatic),
 fonts-arphic-gkai00mp:amd64 (2.11-15, automatic),
 fonts-tlwg-norasi-otf:amd64 (1:0.7.1-3, automatic),
 latex-cjk-chinese-arphic-gkai00mp:amd64 (1.23, automatic),
 ruby2.7:amd64 (2.7.0-5ubuntu1.4, automatic),
 rake:amd64 (13.0.1-4, automatic),
 ruby-net-telnet:amd64 (0.1.1-2, automatic),
 latex-cjk-chinese-arphic-bkai00mp:amd64 (1.23, automatic),
 latex-cjk-all:amd64 (4.8.4+git20170127-2, automatic),
 fonts-unfonts-extra:amd64 (1:1.0.2-080608+dfsg-9, automatic),
 libjs-jquery:amd64 (3.3.1~dfsg-3, automatic),
 fonts-unfonts-core:amd64 (1:1.0.2-080608-16, automatic),
 fonts-tlwg-kinnari-otf:amd64 (1:0.7.1-3, automatic),
 fonts-arphic-bkai00mp:amd64 (2.10-20, automatic),
 latex-cjk-chinese-arphic-gbsn00lp:amd64 (1.23, automatic),
 ruby-minitest:amd64 (5.13.0-1, automatic),
 ps2eps:amd64 (1.68+binaryfree-2, automatic),
 ruby-xmlrpc:amd64 (0.3.0-2, automatic),
 fonts-baekmuk:amd64 (2.2-13, automatic),
 fonts-tlwg-waree-otf:amd64 (1:0.7.1-3, automatic),
 libruby2.7:amd64 (2.7.0-5ubuntu1.4, automatic),
 fonts-arphic-bsmi00lp:amd64 (2.10-18, automatic),
 texlive-lang-other:amd64 (2019.20200218-1, automatic),
 latex-cjk-chinese-arphic-bsmi00lp:amd64 (1.23, automatic),
 ruby:amd64 (1:2.7+1, automatic),
 texlive-lang-korean:amd64 (2019.20200218-1, automatic),
 fonts-tlwg-garuda-otf:amd64 (1:0.7.1-3, automatic),
 fonts-tlwg-sawasdee-otf:amd64 (1:0.7.1-3, automatic),
 fonts-arphic-gbsn00lp:amd64 (2.11-16, automatic),
 fonts-tlwg-typo-otf:amd64 (1:0.7.1-3, automatic),
 fonts-tlwg-loma-otf:amd64 (1:0.7.1-3, automatic),
 latex-cjk-korean:amd64 (4.8.4+git20170127-2, automatic),
 ruby-power-assert:amd64 (1.1.7-1, automatic),
 fonts-ipafont-gothic:amd64 (00303-18ubuntu1, automatic),
 fonts-tlwg-mono-otf:amd64 (1:0.7.1-3, automatic),
 fonts-tlwg-typist-otf:amd64 (1:0.7.1-3, automatic),
 rubygems-integration:amd64 (1.16, automatic),
 fonts-lato:amd64 (2.0-2, automatic),
 latex-cjk-japanese-wadalab:amd64 (0.20050817-17, automatic),
 texlive-lang-japanese:amd64 (2019.20200218-1),
 texlive-lang-cjk:amd64 (2019.20200218-1, automatic),
 fonts-tlwg-umpush-otf:amd64 (1:0.7.1-3, automatic),
 fonts-tlwg-laksaman-otf:amd64 (1:0.7.1-3, automatic),
 ruby-test-unit:amd64 (3.3.5-1, automatic),
 texlive-lang-chinese:amd64 (2019.20200218-1, automatic),
 fonts-ipafont-mincho:amd64 (00303-18ubuntu1, automatic),
 latex-cjk-thai:amd64 (4.8.4+git20170127-2, automatic),
 latex-cjk-common:amd64 (4.8.4+git20170127-2, automatic)
End-Date: 2021-04-30  09:17:57

lualatexコマンドの出すerrorその2

...
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex))))

! LaTeX Error: File `everyhook.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

everyhookを探します

adachi@ebook:$ apt search everyhook
ソート中... 完了
全文検索... 完了  
texlive-latex-extra/focal,focal 2019.202000218-1 all  TeX Live: LaTeX additional packages

texlive-latex-extraのインストール

Start-Date: 2021-04-30  09:24:19
Commandline: /usr/sbin/synaptic
Requested-By: adachi (1000)
Install:
 texlive-plain-generic:amd64 (2019.202000218-1, automatic),
 tk:amd64 (8.6.9+1, automatic),
 libtcl8.6:amd64 (8.6.10+dfsg-1, automatic),
 libcommons-logging-java:amd64 (1.2-2, automatic),
 texlive-pictures:amd64 (2019.20200218-1, automatic),
 libapache-pom-java:amd64 (18-1, automatic),
 texlive-latex-extra:amd64 (2019.202000218-1),
 preview-latex-style:amd64 (11.91-2ubuntu2, automatic),
 libcommons-parent-java:amd64 (43-1, automatic),
 tcl:amd64 (8.6.9+1, automatic),
 libpdfbox-java:amd64 (1:1.8.16-2, automatic),
 tk8.6:amd64 (8.6.10-1, automatic),
 tcl8.6:amd64 (8.6.10+dfsg-1, automatic),
 libfontbox-java:amd64 (1:1.8.16-2, automatic),
 libtk8.6:amd64 (8.6.10-1, automatic)
End-Date: 2021-04-30  09:24:46

lualatexコマンドの出すerrorその3

...
(/usr/share/texlive/texmf-dist/tex/luatex/luatexja/luatexja.sty
(/usr/share/texlive/texmf-dist/tex/luatex/luatexja/luatexja-core.sty

! LaTeX Error: File `luatexbase.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

luatexbaseを探します

adachi@ebook:$ apt search luatexbase
ソート中... 完了
全文検索... 完了  
texlive-luatex/focal,focal 2019.20200218-1 all  TeX Live: LuaTeX packages

texlive-luatexのインストール

Start-Date: 2021-04-30  09:27:41
Commandline: /usr/sbin/synaptic
Requested-By: adachi (1000)
Install: texlive-luatex:amd64 (2019.20200218-1)
End-Date: 2021-04-30  09:27:58