.png)
UbuntuのTeXLiveはかなり古い(バージョン2009)ので、TeXの人たちがいつも推奨しているのを聞きます。CTANから最新のTeXLiveを直接インストールする(はい、その質問に記載されているのと同じパッケージが必要です。) これを実行し、TeXLive 2011 をインストールしました。
現在、インストールする必要があるパッケージの一部 (例: gummi) は、Ubuntu の TeXLive パッケージに依存しています。すでに手動で TeXLive をインストールしているため、Ubuntu の TeXLive パッケージがインストールされないようにするにはどうすればよいですか?
答え1
ファイルは提供しないが、texlive からパッケージ名を提供することを宣言するダミー パッケージを作成します。そのためのツールがあります:equivs-build
から同等パッケージ。
equivs-build
パッケージの依存関係を宣言するファイル(Provides: foo, bar
パッケージをインストールするとパッケージfoo
とをインストールするのと同じ効果があるなどbar
)を受け取り、.deb
バイナリパッケージを構築します。equivs-control
テンプレートを生成する。TUGはequivsファイルを提供している。テックスライブ2011そしてテックスライブ20132013 年のファイルをここに転載します:
Section: misc
Priority: optional
Standards-Version: 3.9.4
Package: texlive-local
Version: 2013-1
Maintainer: you <[email protected]>
Provides: chktex, biblatex, biblatex-dw, cm-super, cm-super-minimal, context,
dvidvi, dvipng, feynmf, fragmaster, jadetex, 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, latexdiff,
latexmk, latex-sanskrit, latex-xcolor, lcdf-typetools, lmodern, luatex,
musixtex, passivetex, 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-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-arabic, texlive-lang-cjk, texlive-lang-cyrillic,
texlive-lang-czechslovak, texlive-lang-english, texlive-lang-european,
texlive-lang-french, texlive-lang-german, texlive-lang-greek,
texlive-lang-indic, texlive-lang-italian, texlive-lang-other,
texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish,
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,
thailatex, tipa, tipa-doc, xindy, xindy-rules, xmltex
Architecture: all
Description: My local installation of TeX Live 2013.
A full "vanilla" TeX Live 2013
http://tug.org/texlive/debian#vanilla
Maintainer
完全な TeXlive をインストールしていない場合は、メール アドレスを行に入力し (このパッケージの提供元を覚えておくため)、提供されているパッケージのリストを調整することをお勧めします。debian-equivs-2013-ex.txt
上記のように使用していると仮定して (使用していない場合は、ファイル名を調整する必要がある可能性があります)、次のコマンドを実行します。
equivs-build debian-equivs-2013-ex.txt
sudo dpkg -i texlive-local_2013-1_all.deb
答え2
dpkg は競合や依存関係を無視できます。
dpkg -i --ignore-depends=package1,package2 targetpackage.deb
しかし、現時点ではapt-getの解決策は見つかりません。
答え3
PocketSam さんは正しいです。apt にこれを実行させることはできません。dpkg を直接操作する必要があります。
gummi .deb ファイルを手動でダウンロードする必要があります:
apt-get download gummi
次に、TeXLive を除く依存関係を、apt-get を使用して gummi から手動でインストールします。
最後に、dpkg --ignore-depends を使用して gummi をインストールできます。
これはエラーが発生しやすいので注意してください。また、apt-get を使用して gummi をアップグレードしようとすると、古い TeXLive が取り込まれる可能性があります。
答え4
gummi-notex
まさにそれを実行するパッケージがあります。ここPPA のインストール手順 (現在、Saucy (13.10) Ubuntu バージョンまで利用可能)