特殊:Badtitle/NS100:Tasksel:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/Tasksel}}
{{From|https://help.ubuntu.com/community/Tasksel}}
{{Languages|UbuntuHelp:Tasksel}}
{{Languages|UbuntuHelp:Tasksel}}
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.
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 ===
=== Tasks List ===
Tasks are defined in .desc files found in /usr/share/tasksel.  Debian derivatives can easily add tasks.
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:
<pre><nowiki>
gedit /usr/share/tasksel/ubuntu-tasks.desc
</nowiki></pre>
=== Installation ===
=== 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.
tasksel has been included as part of the base installation since Ubuntu 6.10 (Edgy). Tasksel is present on all versions of Ubuntu's installer (but previously was not installed as part of the base system).
=== Usage ===
=== Usage ===
To run tasksel, at the command line, type
To run tasksel from the command line, type:
<pre><nowiki>
<pre><nowiki>
sudo tasksel
sudo tasksel
</nowiki></pre>
</nowiki></pre>
the tasksel menu will be shown:
the tasksel menu will be shown:
{{https://help.ubuntu.com/community/Tasksel?action=AttachFile&do=get&target=tasksel.jpg%7D%7D
https://help.ubuntu.com/community/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.
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 ===
===  Command line arguments ===
See the tasksel manpage:
You can also directly specify which task to install.
For instance, to add the Apache-MySQL-PHP stack to an existing system:
<pre><nowiki>
sudo tasksel install lamp-server
</nowiki></pre>
For complete options, see the tasksel manpage:
<pre><nowiki>
<pre><nowiki>
man tasksel
man tasksel
</nowiki></pre>
</nowiki></pre>
=== Usage (alternative, not documented anywhere) ===
=== Usage (alternative) ===
''NOTE - Calling tasks from apt-get is not documented anywhere.  If you find a page that documents this, please update this page with a link.''
One can alternatively install tasks with apt-get.  This is the syntax:
One can alternatively install tasks with apt-get.  This is the syntax:
<pre><nowiki>
<pre><nowiki>
sudo apt-get install the_name_of_the_task_you_want^
sudo apt-get install the_name_of_the_task_you_want^
</nowiki></pre>
</nowiki></pre>
And yes, you forgot the carrot (^), and yes, it is magical.
And yes, you forgot the caret (^), and yes, it is magical.
(If you find a page that documents this, please update this page with a link.  Thanks)
Examples:
===== Examples =====
<pre><nowiki>
<pre><nowiki>
sudo apt-get install ubuntu-desktop^
sudo apt-get install ubuntu-desktop^
第33行: 第42行:
</nowiki></pre>
</nowiki></pre>
=== Task descriptions ===
=== Task descriptions ===
Here are the long descritions of a few common tasks:
Here are the long descriptions of a few common tasks:
dns-server
*dns-server
Selects the BIND DNS server and its documentation.
Selects the BIND DNS server and its documentation.
edubuntu-server
*edubuntu-server
This task provides the Edubuntu classroom server.
This task provides the Edubuntu classroom server.
lamp-server
*lamp-server
Selects a ready-made Linux/Apache/MySQL/PHP server.
Selects a ready-made Linux/Apache/MySQL/PHP server.
ubuntu-desktop
*ubuntu-desktop
This task provides the Ubuntu desktop environment.
This task installs the Ubuntu desktop environment.
ubuntu-live
*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.
This task provides the extra packages installed on the Ubuntu [[UbuntuHelp:LiveCD|LiveCD]]. It is neither useful nor recommended to install this task in other environments.


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2009年11月17日 (二) 20:47的最新版本

{{#ifexist: :Tasksel/zh | | {{#ifexist: Tasksel/zh | | {{#ifeq: {{#titleparts:Tasksel|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Tasksel|1|-1|}} | zh | | }}

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:

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

Installation

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

Usage

To run tasksel from the command line, type:

sudo tasksel

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

Usage (alternative)

NOTE - Calling tasks from apt-get is not documented anywhere. If you find a page that documents this, please update this page with a link. 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 caret (^), and yes, it is magical. 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 descriptions 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 installs the Ubuntu desktop environment.

  • ubuntu-live

This task provides the extra packages installed on the Ubuntu LiveCD. It is neither useful nor recommended to install this task in other environments.