tasksel は Debian システムに含まれる基本的なコマンドです。ただしカスタムインストールした場合、利用できないことがあります。 その際には tasksel のバイナリパッケージをインストールする必要があります。
# apt-get install tasksel# tasksel
コマンドラインから操作すると、ユーザーフレンドリーなインターフェース(疑似グラフィカル・インターフェース)が起動し、ガイドによる作業手順が 表示されます。
Tasksel の基本的な使い方は以下に示すとおりです。
$ tasksel -h
Unknown option: h
使い方(SYNOPSIS):
tasksel install <タスク>
tasksel remove <タスク>
tasksel [オプション]
-t, --test テストモード: 実際には何も行わない
--new-install 自動的にいくつかのタスクをインストールする
--list-tasks 表示可能なタスクを一覧で表示して終了する
--task-packages タスクで利用可能なパッケージを一覧表示する
--task-desc タスクの説明を返す
例えば、GNOMEデスクトップをインストールしたい時は、直接そのタスクを指定することができます。
# tasksel install gnome-desktop
Section: server
Description: SQL database
This task selects client and server packages for the PostgreSQL database.
.
PostgreSQL is an SQL relational database, offering increasing SQL92
compliance and some SQL3 features. It is suitable for use with multi-user
database access, through its facilities for transactions and fine-grained
locking.
Key:
postgresql-8.1
Packages: task-fields
Section: user
Relevance: 8
Description: Desktop environment
This task provides basic desktop software and serves as a basis for the
Gnome and KDE desktop tasks.
Key:
xorg
xserver-xorg-video-all
xserver-xorg-input-all
desktop-base
menu
iceweasel
discover1
xresprobe
alsa-utils
alsa-base
eject
Packages: task-fields
Test-desktop: 1
Section: user
Relevance: 8
Description: Gnome desktop environment
This task provides basic "desktop" software using the Gnome desktop
environment.
Key:
gnome-desktop-environment
Enhances: desktop
Provides: complete-desktop
Packages: task-fields
Section: l10n
Description: Japanese environment
This task installs packages that make it easier for Japanese speakers
to use Debian.
Key:
language-env
jfbterm
unifont
manpages-ja
lv
Packages: task-fields
Test-lang: ja
Section: l10n
Description: Japanese desktop
This task localises the desktop in Japanese.
Enhances: desktop, japanese
Packages: task-fields
Section: user
Relevance: 8
Description: KDE desktop environment
This task provides basic "desktop" software using the K Desktop
Environment.
Key:
kde-core
kdeadmin
kdeartwork
kdegraphics
kdemultimedia
kdenetwork
kdeutils
kdepim
kdm
Enhances: desktop
Provides: complete-desktop
Packages: task-fields
Test-new-install: skip skip
Section: user
Description: Laptop
This task installs software useful for a laptop.
Packages: task-fields
Test-laptop: 1
Section: server
Description: Mail server
This task selects a variety of package useful for a general purpose mail
server system.
Key:
exim4
Packages: task-fields
Section: server
Relevance: 6
Description: Print server
This task sets up your system to be a print server.
Key:
cupsys
cupsys-client
cupsys-bsd
Packages: task-fields
Section: user
Description: Standard system
This task installs a reasonably small character-mode system.
Packages: standard
Test-new-install: mark skip
Section: server
Relevance: 7
Description: Web server
This task selects packages useful for a general purpose web server
system.
Key:
apache2-mpm-prefork
Packages: task-fields
Section: user
Relevance: 8
Description: Xfce desktop environment
This task provides basic "desktop" software using the Xfce desktop
environment.
Key:
xfce4
gdm
Enhances: desktop
Provides: complete-desktop
Packages: task-fields
NAME
tasksel - a user interface for installing tasks
SYNOPSIS
tasksel install <task>
tasksel remove <task>
tasksel [options]
DESCRIPTION
tasksel shows all available tasks and allows to user to select ones to
install
OPTIONS
FILES
/usr/share/tasksel/*.desc and /usr/local/share/tasksel/*.desc are used
to de tasks.
次のコマンドで、実際にインストールされる主な内容を把握することができます。
$ tasksel --task-packages <task>
tasksel コマンドを使用すると、上記以外にもデスクトップ関連の様々なパッケージが同時に追加されます。
詳しくは、/var/cache/aptitude
の例を参照してください。
twm
gimp-print
xresprobe
eject
foomatic-filters-ppds
openoffice.org
xserver-xorg-video-all
openoffice.org-help-en-us
foomatic-db-hpijs
cupsys-driver-gutenprint
cupsys-client
avahi-daemon
foomatic-db-gutenprint
openoffice.org-thesaurus-en-us
discover1
myspell-en-us
xdg-utils
hotkey-setup
foomatic-gui
xorg
cupsys-bsd
iceweasel
xserver-xorg-input-all
hplip
desktop-base
alsa-base
libnss-mdns
xterm
cupsys
alsa-utils
anacron
printconf
hpijs
menu
gimp
openoffice.org-gcj
foomatic-db-engine
evolution-webcal
totem-mozilla
openoffice.org-evolution
menu-xdg
synaptic
xsane
openoffice.org-gnome
iceweasel-gnome-support
gnome-power-manager
alacarte
liferea
gstreamer0.10-ffmpeg
grdesktop
bluez-gnome
update-notifier
gparted
gnome-desktop-environment
evolution-exchange
deskbar-applet
epiphany-browser
gnome-screensaver
gnome-themes-extras
rhythmbox
gnomebaker
epiphany-extensions
evolution-plugins
network-manager-gnome
gaim
gnome-btdownload
gnome-cups-manager
libgnome2-perl
gdebi
openoffice.org-help-ja
ttf-kochi-gothic
openoffice.org-l10n-ja
kde-i18n-ja
iceweasel-l10n-ja
ttf-kochi-mincho
doc-linux-ja-html
ttf-vlgothic
uim
kdepim
openoffice.org-kde
network-manager-kde
menu-xdg
kdemultimedia
kdegraphics
libqt-perl
kpackage
k3b
kdeartwork
kdenetwork
kde-core
kdeutils
kde
kdeadmin
kdm
orage
xfmedia
xfce4-terminal
xfce4
xfce4-goodies
mousepad
xfce4-mixer
xsane
openoffice.org-gtk
gdm
xfprint4