我刚刚安装了 xubuntu 并删除了我不需要的所有东西。现在我想安装 gnome -shell 但不想安装任何其他 gnome 软件包。理想情况下,我将只有带有附加 gnome-shell 的 xfce 相关程序(以及拥有功能齐全的 gnome-shell 面板/系统托盘所需的一切)。
完成此操作的正确方法是什么?我想将安装的软件包数量保持在最低限度。
我经常将这个参数apt用于这样的事情:
--no-install-recommends
Do not consider recommended packages as a dependency for installing.
Configuration Item: APT::Install-Recommends.
Run Code Online (Sandbox Code Playgroud)
使用方法如下:
sudo apt-get --no-install-recommends install gnome-shell
Run Code Online (Sandbox Code Playgroud)