Tasksel is not automatically installed, so you will need to install it.
$ sudo apt-get install tasksel
You can easily select install the lamp (Linux, Apache2, Mysql, and PHP) to set up a minimal web server. While doing that you can tell the system not to install the gui desktop to make a lean and trim system. You can also install several options at once, but you need to be careful.
To see what packages a system has available to install, you can use the command: (varies from distribution to distribution). It will even tell you what is installed.
$ sudo tasksel --list-tasks
i server Basic Ubuntu server
i openssh-server OpenSSH server
u dns-server DNS server
u lamp-server LAMP server
i mail-server Mail server
u openstack Openstack
u postgresql-server PostgreSQL database
i print-server Print server
You can also see what programs are included in a specific package
$ sudo tasksel --task-packages server
You can still install and remove individual packages the old fashion way. I will not dwell on all the options, but you can always
$ man tasksel
for more details.
Keep a list of installed packages:
$ sudo dpkg –get-selections > installed-software.log
read $ sudo dpkg (dash)(dash)get-selections > installed-software.log
To use for another system:
$ sudo dpkg –set-selections < installed-software.log
read $ sudo dpkg (dash)(dash)set-selections < installed-software.log
$ sudo apt-get dselect-upgrade
Redhat also has as a group install but to my knowledge, it is not menu driven.
To get a list of groups
yum grouplist | less
Then to install
$ sudo yum groupinstall "group name"
yum groupupdate 'Development Tools'