Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Recently I have gone through tasksel command usage because of LAMP server setup. Why can't I use apt-get or aptitude there? Why does the Ubuntu wiki page suggest to do it with tasksel only. Is there any specific reason? Where should tasksel be used? whats going to happen if I use aptitude or apt-get instead of tasksel while installing the server.

share|improve this question
Jai - if you are not happy with the answer - suggest a bounty will work - you'll need to update your question specifically with what you are looking for - giving examples etc. For the bounty description - say what characteristics of the bounty will gain an acceptance. – fossfreedom Mar 11 '13 at 14:53
up vote 4 down vote accepted

I guess you must have used the command:

sudo tasksel install lamp-server

You could have also used:

sudo apt-get install lamp-server^

Remember that lamp-server is not a package but a task. Tasksel is generally used to install tasks on your system. Please read its documentation.

share|improve this answer
tasksel is deprecated. The apt-get version should be preferred. – flickerfly Dec 2 '14 at 18:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.