apt は依存関係で指定されたパッケージよりも多くのパッケージをインストールします。

apt は依存関係で指定されたパッケージよりも多くのパッケージをインストールします。

texmakerリポジトリからインストールしようとしています。インストールのためにtexlive私は従った。ここで説明した手順。私が使用する制御ファイルは次のとおりです。これ。これにはtexlive-binariesファイルが含まれています。

それtexmakerからapt。その依存関係は次のようにリストされています。

# apt-cache depends texmaker
texmaker
  Depends: libc6
  Depends: libgcc1
  Depends: libpoppler-qt4-3
  Depends: libqt4-network
  Depends: libqt4-xml
  Depends: libqtcore4
  Depends: libqtgui4
  Depends: libqtwebkit4
  Depends: libstdc++6
  Depends: zlib1g
  Depends: texmaker-data
  Recommends: aspell
  Recommends: ghostscript
  Recommends: netpbm
  Recommends: psutils
    texlive-local
  Recommends: texlive-latex-extra
    texlive-local
 |Recommends: <hunspell-dictionary>
    myspell-fr
    myspell-ru
    hunspell-an
    hunspell-ar
    hunspell-be
    hunspell-da
    hunspell-de-at
    hunspell-de-at-frami
    hunspell-de-ch
    hunspell-de-ch-frami
    hunspell-de-de
    hunspell-de-de-frami
    hunspell-en-ca
    hunspell-en-us
    hunspell-eu-es
    hunspell-fr
    hunspell-gl-es
    hunspell-hu
    hunspell-kk
    hunspell-ko
    hunspell-ne
    hunspell-ro
    hunspell-ru
    hunspell-se
    hunspell-sh
    hunspell-sr
    hunspell-sv-se
    hunspell-uz
    hunspell-vi
    myspell-et
    myspell-lv
    myspell-pl
 |Recommends: <openoffice.org-spellcheck-de-de>
    hunspell-de-de
    myspell-de-de
 |Recommends: <myspell-dictionary>
    myspell-de-de-oldspell
    myspell-fr
    myspell-ru
    hunspell-kk
    myspell-af
    myspell-bg
    myspell-ca
    myspell-cs
    myspell-da
    myspell-de-at
    myspell-de-ch
    myspell-de-de
    myspell-en-au
    myspell-en-gb
    myspell-en-us
    myspell-en-za
    myspell-eo
    myspell-es
    myspell-et
    myspell-fa
    myspell-fi
    myspell-fo
    myspell-fr-gut
    myspell-ga
    myspell-gd
    myspell-gv
    myspell-he
    myspell-hr
    myspell-hu
    myspell-hy
    myspell-it
    myspell-ku
    myspell-lt
    myspell-lv
    myspell-nb
    myspell-nl
    myspell-nn
    myspell-pl
    myspell-pt-br
    myspell-pt-pt
    myspell-sk
    myspell-sl
    myspell-sw
    myspell-th
    myspell-tl
    myspell-uk
  Recommends: hunspell-en-us
  Recommends: asymptote
  Recommends: ibus-qt4

しかし、インストールしようtexmakerとするとapt

# apt-get install texmaker
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  asymptote asymptote-doc ed freeglut3 ibus-qt4 libgraphite3 libibus-qt1
  libptexenc1 libqtwebkit4 libruby1.9.1 libsigsegv2 libyaml-0-2
  python-imaging-tk ruby ruby1.9.1 tex-common texlive-binaries texlive-common
  texmaker-data

なぜですか?

tex-studioインストールしましたが、問題はありませんでしたtexworks

ベストアンサー1

Mikelが言ったように、apt-getこの提案は基本的に導入されています。また、依存関係には依存関係があるため、時にはこの方法で追加のパッケージを入手できることに注意してください。

推奨事項は必ずしも必要ではありませんが、パッケージプログラムにはソフトウェアが正常に動作するために必要な推奨パッケージが含まれることがあります。特定のパッケージ(正しい操作に必要な場合が多い)を必須ではないことを推奨する理由は、一部のユーザーにはそのパッケージを必要としない特別なニーズがある可能性があるため、スペースの限られた人が少し余裕を持つようにすることです。です。システムが薄くなりました。これは柔軟性を考慮した事項です。明らかに、Debian ポリシーはこれに対して完全に正確ではないため、わずかに灰色の領域です。個人的には、私は推奨apt-getインストールを残しました。これは通常より簡単で、ディスク容量が問題にならない場合はより良いでしょう。ただし、マイレージは異なる場合があります。

これはから来たものですDebian Policy Manual 存在するRecommends関係

Recommends

    これは強力だが絶対的ではない依存関係を宣言します。

    このRecommendsフィールドには、一般的でないインストールを除くすべてのインストールで見つかるパッケージを一覧表示する必要があります。

おすすめ記事