个人工具

UbuntuHelp:Tasksel

来自Ubuntu中文

Wikibot讨论 | 贡献2008年10月20日 (一) 00:47的版本

跳转至: 导航, 搜索


Tasksel is a software installation application that is an integral part of the Debian installer. It groups some packages by tasks and offers the user an easy way to install the packages for that task. It provides the same functionality as using conventional meta-packages.

Tasks

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

Installation

Since Ubuntu 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.

Usage

To run tasksel, at the command line, type

sudo tasksel

the tasksel menu will be shown: Tasksel?action=AttachFile&do=get&target=tasksel.jpg 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

See the tasksel manpage:

man tasksel

Usage (alternative, not documented anywhere)

One can alternatively install tasks with apt-get. This is the syntax:

sudo apt-get install the_name_of_the_task_you_want^

And yes, you forgot the carrot (^), and yes, it is magical. (If you find a page that documents this, please update this page with a link. Thanks)

Examples
sudo apt-get install ubuntu-desktop^
sudo apt-get install kubuntu-desktop^
sudo apt-get install lamp-server^

Task descriptions

Here are the long descritions of a few common tasks: dns-server Selects the BIND DNS server and its documentation. edubuntu-server This task provides the Edubuntu classroom server. lamp-server Selects a ready-made Linux/Apache/MySQL/PHP server. ubuntu-desktop This task provides the Ubuntu desktop environment. ubuntu-live This task provides the extra packages installed on the Ubuntu live CD. It is neither useful nor recommended to install this task in other environments.