在 Linux 中运行命令 apt-get install 时,新包和额外包有什么区别?

在 Linux 中运行命令 apt-get install 时,新包和额外包有什么区别?

当我尝试安装某个包时,我得到了以下输出。我读过http://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-depends但目前尚不清楚是否extra packages安装了,因为它们是依赖项,并且New packages依赖于extra packages

The following extra packages will be installed:
  liba52-0.7.4 libaacs0 libass4 libavcodec53 libavformat53 libavutil51
  libbluray1 libcddb2 libdc1394-22 libdca0 libdirac-encoder0 libdvbpsi7
  libdvdnav4 libdvdread4 libebml3 libenca0 libfaad2 libgsm1 libiso9660-8
  libkate1 libmad0 libmatroska5 libmodplug1 libmpcdec6 libmpeg2-4
  libpostproc52 libresid-builder0c2a libschroedinger-1.0-0 libsdl-image1.2
  libsidplay2 libswscale2 libtar0 libtwolame0 libupnp3 libva-x11-1 libva1
  libvcdinfo0 libvlc5 libvlccore5 libvpx1 libx264-120 libxcb-composite0
  libxcb-keysyms1 libxcb-randr0 libxcb-xv0 libzvbi-common libzvbi0 vlc-data
  vlc-nox vlc-plugin-notify vlc-plugin-pulse
Suggested packages:
  libbluray-bdj libdvdcss2 debhelper fakeroot build-essential videolan-doc
The following NEW packages will be installed:
  liba52-0.7.4 libaacs0 libass4 libavcodec53 libavformat53 libavutil51
  libbluray1 libcddb2 libdc1394-22 libdca0 libdirac-encoder0 libdvbpsi7
  libdvdnav4 libdvdread4 libebml3 libenca0 libfaad2 libgsm1 libiso9660-8
  libkate1 libmad0 libmatroska5 libmodplug1 libmpcdec6 libmpeg2-4
  libpostproc52 libresid-builder0c2a libschroedinger-1.0-0 libsdl-image1.2
  libsidplay2 libswscale2 libtar0 libtwolame0 libupnp3 libva-x11-1 libva1
  libvcdinfo0 libvlc5 libvlccore5 libvpx1 libx264-120 libxcb-composite0
  libxcb-keysyms1 libxcb-randr0 libxcb-xv0 libzvbi-common libzvbi0 vlc
  vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse

答案1

新包是正在安装的所有内容,甚至包括依赖项。

额外包是您没有输入要安装的东西,但对于您正在安装的程序运行/功能是必需的(又称依赖项)

相关内容