Skip to content
Blog Tasksel: an installation system for ubuntu (debian)

Tasksel: an installation system for ubuntu (debian)

I found this in the ubuntu documentation. Tasksel is an installation system that is an integral part of the Debian installer; it is also included in Ubuntu. Tasksel groups software packages by tasks and offers an easy way to install all the packages needed for that task. It provides the same functionality as using conventional meta-packages.

Tasks List
Tasks are defined in .desc files found in /usr/share/tasksel. Debian derivatives can easily add tasks.

The default list available in Ubuntu can be viewed with this command-line:

$ sudo gedit /usr/share/tasksel/ubuntu-tasks.desc

Since Ubuntu 6.10 (Edgy) tasksel has been included as part of the base installation. Tasksel is present on all versions of Ubuntu’s installer, but previously was not installed on the base system.

To run tasksel, at the command line, type

$ sudo tasksel

the tasksel menu will be shown:

Already-installed tasks will have an asterisk beside their name. Select a task by scrolling down and pressing space. This will put an asterisk beside the selected task and mark it for installation. Removing an asterisk marks the task for removal. Once “ok” is selected the task installations and/or removals will take place using apt-get.

Command line arguments
You can also directly specify which task to install.
For instance, to add the Apache-MySQL-PHP stack to an existing system:

$ sudo tasksel install lamp-server

For complete options, see the tasksel manpage:

$ man tasksel


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.