tasksel
Tasksel
Tasksel package provides a simple interface for users who want to configure their system to perform a specific task. This program is used during the installation process, but users can also use tasksel at any time.
https://wiki.debian.org/tasksel
mdl@114-212-83-40:~$ sudo tasksel --list-task
[sudo] mdl 的密码:
i desktop Debian desktop environment
i gnome-desktop GNOME
u xfce-desktop Xfce
i kde-desktop KDE
u cinnamon-desktop Cinnamon
u mate-desktop MATE
u lxde-desktop LXDE
u web-server web server
i print-server print server
i ssh-server SSH server
i laptop laptop
Command Line Installation:
tasksel install <task>
tasksel remove <task>
other details in man tasksel