1

I would like to install a LAMP stack in Ubuntu Server and going to use sudo apt-get install lamp-server^.

Prior to this I would like to ask what is the difference between using this method and between installing each element separately? There are many guides which go the second way.

Also, is it possible to know which versions of PHP, MySQL and Apache are going to be installed without actually installing them? (using sudo apt-get install lamp-server^)

0
  1. convenience/ease
  2. use the "-s" (simulate) switch for apt-get

EDIT:

Occurs to me it might be more useful to look at the policies the dependencies. Maybe:

apt-cache policy lamp-server^
  • The only difference is convenience? 100%? – Mente Oct 13 '15 at 16:00
  • Pretty much, yes. To see what gets installed try tasksel --task-packages lamp-server - the various by-hand guides might specify a different set or whatever, but basically the tasks are there for convenience and ease. If you use them then you should (unless there are bugs somewhere) get a working LAMP stack. Interesting that perl is included though, that's not traditionally in a LAMP stack, wonder what the rationale for that is? – ssta Oct 13 '15 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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