
我剛剛安裝了 xubuntu 並刪除了我不需要的所有內容。現在我想安裝 gnome -shell 但不安裝任何其他 gnome 軟體包。理想情況下,我會有僅有的xfce 相關程式以及附加的 gnome-shell(以及擁有功能齊全的 gnome-shell 面板/系統托盤所需的一切)。
實現這一目標的正確方法是什麼?我想將安裝的軟體包數量保持在最低限度。
答案1
我經常使用這個參數apt
來做這樣的事情:
--no-install-recommends
Do not consider recommended packages as a dependency for installing.
Configuration Item: APT::Install-Recommends.
使用方法如下:
sudo apt-get --no-install-recommends install gnome-shell