Tasksel or plain Apt?
In the past I've always used
tasksel to install so-called "tasks". It seems, however, that this has been integrated in APT:
apt-cache dumpavail | grep ^Task [...] snip Task: lamp-server [...]
and that I can install such "tasks" by appending a caret (
^) to it, like this:
sudo apt-get install lamp-server^
Is this equivalent to the following?
sudo tasksel install lamp-server
And which is preferred?
Additionally, how do metapackages come into play here? Some tasks seem not to be a metapackage while others are:
apt-cache show lamp-server N: Unable to locate package lamp-server apt-cache show kubuntu-desktop Package: kubuntu-desktop [...] Task: kubuntu-desktop
So, using the last example, what is the difference between the following three possible ways to install?
sudo apt-get install kubuntu-desktop
sudo apt-get install kubuntu-desktop^
sudo tasksel install kubuntu-desktop
apt-get install -s lubuntu-desktopversus
apt-get install -s lubuntu-desktop^. In the latter, you'll see something additional like this: Note, selecting 'policykit-1-gnome' for task 'lubuntu-desktop' / Note, selecting 'gnome-keyring' for task 'lubuntu-desktop' / Note, selecting 'libplist1' for task 'lubuntu-desktop' / Note, selecting 'aspell-en' for task 'lubuntu-desktop' / Note, selecting 'libsdl1.2debian' for task 'lubuntu-desktop' / So, in this particular case, I'm not sure that the "carrot" one is any better.