我TexLive
通过 Ubuntu 的软件中心安装。但是它不包含 tlmgr,而 tlmgr 对于更新软件包非常有用。
是否可以tlmgr
默认使用TexLive
?如果可以,我怎样才能只安装 tlmgr(而不安装TexLive 2011
)?我install.pl
在可下载的安装程序文件夹中运行了脚本TexLive 2011
,但找不到仅安装的方法tlmgr
。
谢谢。
答案1
您不能同时使用tlmgr
和apt-get
(Ubuntu 的包管理器)。您可以手动从特科利并使用tlmgr
(我推荐),或者使用 Ubuntu 的打包版本的 TeXLive(已过时,基于 TeXLive 2009)并通过 进行更新apt-get
,但不能混合使用两者。
如果您要手动安装最新的 TeXLive,请考虑使用equivs
创建一个虚拟的 TeXLive debian 包,并将您的自定义 TeXLive 安装考虑在 Ubuntu 依赖项中。实际上,将以下内容放入名为的文件中texlive-local.equivs
:
Section: misc
Priority: optional
Standards-Version: 3.9.2
Package: texlive-local
Version: 2011-1~1
Maintainer: you <[email protected]>
Provides: biblatex, biblatex-dw, cm-super, cm-super-minimal, context, dvipng, feynmf, fragmaster, lacheck, latex-beamer, latex-cjk-all, latex-cjk-chinese, latex-cjk-chinese-arphic-bkai00mp, latex-cjk-chinese-arphic-bsmi00lp, latex-cjk-chinese-arphic-gbsn00lp, latex-cjk-chinese-arphic-gkai00mp, latex-cjk-common, latex-cjk-japanese, latex-cjk-japanese-wadalab, latex-cjk-korean, latex-cjk-thai, latex-cjk-xcjk, latexmk, latex-sanskrit, latex-xcolor, lcdf-typetools, lmodern, luatex, musixlyr, musixtex, pgf, preview-latex-style, prosper, ps2eps, psutils, purifyeps, t1utils, tex4ht, tex4ht-common, tex-gyre, texlive, texlive-base, texlive-bibtex-extra, texlive-binaries, texlive-common, texlive-doc-base, texlive-doc-bg, texlive-doc-cs+sk, texlive-doc-de, texlive-doc-el, texlive-doc-en, texlive-doc-es, texlive-doc-fi, texlive-doc-fr, texlive-doc-it, texlive-doc-ja, texlive-doc-ko, texlive-doc-mn, texlive-doc-nl, texlive-doc-pl, texlive-doc-pt, texlive-doc-ru, texlive-doc-si, texlive-doc-th, texlive-doc-tr, texlive-doc-uk, texlive-doc-vi, texlive-doc-zh, texlive-extra-utils, texlive-fonts-extra, texlive-fonts-extra-doc, texlive-fonts-recommended, texlive-fonts-recommended-doc, texlive-font-utils, texlive-formats-extra, texlive-games, texlive-generic-extra, texlive-generic-recommended, texlive-humanities, texlive-humanities-doc, texlive-lang-african, texlive-lang-all, texlive-lang-arab, texlive-lang-arabic, texlive-lang-armenian, texlive-lang-croatian, texlive-lang-cyrillic, texlive-lang-czechslovak, texlive-lang-danish, texlive-lang-dutch, texlive-lang-finnish, texlive-lang-french, texlive-lang-german, texlive-lang-greek, texlive-lang-hebrew, texlive-lang-hungarian, texlive-lang-indic, texlive-lang-italian, texlive-lang-latin, texlive-lang-latvian, texlive-lang-lithuanian, texlive-lang-manju, texlive-lang-mongolian, texlive-lang-norwegian, texlive-lang-other, texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish, texlive-lang-swedish, texlive-lang-tibetan, texlive-lang-ukenglish, texlive-lang-vietnamese, texlive-latex3, texlive-latex-base, texlive-latex-base-doc, texlive-latex-extra, texlive-latex-extra-doc, texlive-latex-recommended, texlive-latex-recommended-doc, texlive-luatex, texlive-math-extra, texlive-metapost, texlive-metapost-doc, texlive-music, texlive-omega, texlive-pictures, texlive-pictures-doc, texlive-plain-extra, texlive-pstricks, texlive-pstricks-doc, texlive-publishers, texlive-publishers-doc, texlive-science, texlive-science-doc, texlive-xetex, texpower, texpower-manual, thailatex, tipa, ttf-freefont, ttf-gfs-artemisia, ttf-gfs-baskerville, ttf-gfs-bodoni-classic, ttf-gfs-didot, ttf-gfs-didot-classic, ttf-gfs-gazis, ttf-gfs-neohellenic, ttf-gfs-olga, ttf-gfs-porson, ttf-gfs-solomos, ttf-gfs-theokritos, ttf-sil-gentium, xindy, xindy-rules
Architecture: all
Description: My local installation of TeX Live 2011.
A full "vanilla" TeX Live 2011
http://tug.org/texlive/debian#vanilla
然后运行
sudo apt-get install equivs
equivs-control texlive-local
equivs-build texlive-local.equivs
sudo dpkg -i texlive-local_2011-1~1_all.deb