特殊:Badtitle/NS100:Tasksel
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Tasksel }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/af | • {{#if: UbuntuHelp:Tasksel|Afrikaans| [[::Tasksel/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ar | • {{#if: UbuntuHelp:Tasksel|العربية| [[::Tasksel/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/az | • {{#if: UbuntuHelp:Tasksel|azərbaycanca| [[::Tasksel/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/bcc | • {{#if: UbuntuHelp:Tasksel|جهلسری بلوچی| [[::Tasksel/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/bg | • {{#if: UbuntuHelp:Tasksel|български| [[::Tasksel/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/br | • {{#if: UbuntuHelp:Tasksel|brezhoneg| [[::Tasksel/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ca | • {{#if: UbuntuHelp:Tasksel|català| [[::Tasksel/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/cs | • {{#if: UbuntuHelp:Tasksel|čeština| [[::Tasksel/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/de | • {{#if: UbuntuHelp:Tasksel|Deutsch| [[::Tasksel/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/el | • {{#if: UbuntuHelp:Tasksel|Ελληνικά| [[::Tasksel/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/es | • {{#if: UbuntuHelp:Tasksel|español| [[::Tasksel/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/fa | • {{#if: UbuntuHelp:Tasksel|فارسی| [[::Tasksel/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/fi | • {{#if: UbuntuHelp:Tasksel|suomi| [[::Tasksel/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/fr | • {{#if: UbuntuHelp:Tasksel|français| [[::Tasksel/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/gu | • {{#if: UbuntuHelp:Tasksel|ગુજરાતી| [[::Tasksel/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/he | • {{#if: UbuntuHelp:Tasksel|עברית| [[::Tasksel/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/hu | • {{#if: UbuntuHelp:Tasksel|magyar| [[::Tasksel/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/id | • {{#if: UbuntuHelp:Tasksel|Bahasa Indonesia| [[::Tasksel/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/it | • {{#if: UbuntuHelp:Tasksel|italiano| [[::Tasksel/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ja | • {{#if: UbuntuHelp:Tasksel|日本語| [[::Tasksel/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ko | • {{#if: UbuntuHelp:Tasksel|한국어| [[::Tasksel/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ksh | • {{#if: UbuntuHelp:Tasksel|Ripoarisch| [[::Tasksel/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/mr | • {{#if: UbuntuHelp:Tasksel|मराठी| [[::Tasksel/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ms | • {{#if: UbuntuHelp:Tasksel|Bahasa Melayu| [[::Tasksel/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/nl | • {{#if: UbuntuHelp:Tasksel|Nederlands| [[::Tasksel/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/no | • {{#if: UbuntuHelp:Tasksel|norsk| [[::Tasksel/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/oc | • {{#if: UbuntuHelp:Tasksel|occitan| [[::Tasksel/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/pl | • {{#if: UbuntuHelp:Tasksel|polski| [[::Tasksel/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/pt | • {{#if: UbuntuHelp:Tasksel|português| [[::Tasksel/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ro | • {{#if: UbuntuHelp:Tasksel|română| [[::Tasksel/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/ru | • {{#if: UbuntuHelp:Tasksel|русский| [[::Tasksel/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/si | • {{#if: UbuntuHelp:Tasksel|සිංහල| [[::Tasksel/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/sq | • {{#if: UbuntuHelp:Tasksel|shqip| [[::Tasksel/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/sr | • {{#if: UbuntuHelp:Tasksel|српски / srpski| [[::Tasksel/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/sv | • {{#if: UbuntuHelp:Tasksel|svenska| [[::Tasksel/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/th | • {{#if: UbuntuHelp:Tasksel|ไทย| [[::Tasksel/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/tr | • {{#if: UbuntuHelp:Tasksel|Türkçe| [[::Tasksel/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/vi | • {{#if: UbuntuHelp:Tasksel|Tiếng Việt| [[::Tasksel/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/yue | • {{#if: UbuntuHelp:Tasksel|粵語| [[::Tasksel/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/zh | • {{#if: UbuntuHelp:Tasksel|中文| [[::Tasksel/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/zh-hans | • {{#if: UbuntuHelp:Tasksel|中文(简体)| [[::Tasksel/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Tasksel | UbuntuHelp:Tasksel | {{#if: | :}}Tasksel}}/zh-hant | • {{#if: UbuntuHelp:Tasksel|中文(繁體)| [[::Tasksel/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Tasksel|:Tasksel|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Tasksel/zh | | {{#ifexist: Tasksel/zh | | {{#ifeq: {{#titleparts:Tasksel|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Tasksel|1|-1|}} | zh | | }}
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: {{https://help.ubuntu.com/community/Tasksel?action=AttachFile&do=get&target=tasksel.jpg%7D%7D 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.