Debian Netinst - 为什么在我安装 Gnome 时 apt 会下载 Libre Office?

Kam*_*mil 12 debian apt package-management

我有 Debian。我是从 netinst 安装它以节省磁盘空间和网络传输(小分区,UMTS 连接)。

我决定安装 Gnome。当我输入:

apt-get install gnome

它开始下载诸如 Libre Office、Gimp 之类的大东西……

我真的不喜欢它。

  1. 为什么 Debian 开发人员在安装 Gnome 时假定我需要 Libre Office 或 Gimp?还是我错过了什么?
  2. 如何安装 Gnome 并且只安装真正需要的软件包?

小智 18

当您安装gnome软件包时,您正在安装一个“桌面环境”,其中包括 Libre Office 和其他一些东西,如 Gimp、Rhythmbox、Oregano 等。

如果要安装“干净”的 gnome,请使用该gnome-core软件包。

在这里您可以看到每个包包含的内容:


ter*_*don 11

那是因为它gnome是一个元包,它引入了完整的 Gnome 桌面环境,其中包括很多很多东西:

$ apt-cache show gnome
[ ... ]
Description-en: Full GNOME Desktop Environment, with extra components
 This is the GNOME Desktop environment, an intuitive and attractive
 desktop, with extra components.
 .
 This meta-package depends on the standard distribution of the GNOME
 desktop environment, plus a complete range of plugins and other
 applications integrating with GNOME and Debian, providing the best
 possible environment to date.
Run Code Online (Sandbox Code Playgroud)

你所追求的可能是这个gnome-core包:

$ apt-cache show gnome-core
[ ... ]
Description-en: GNOME Desktop Environment -- essential components
 These are the core components of the GNOME Desktop environment, an
 intuitive and attractive desktop.
 .
 This meta-package depends on a basic set of programs, including a file
 manager, an image viewer, a web browser, a video player and other
 tools.
 .
 It contains the official “core” modules of the GNOME desktop.
Run Code Online (Sandbox Code Playgroud)

作为一般规则,您应该始终apt-cache show PACKAGENAME在安装之前使用以确保您知道软件包是什么。