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^)

1 Answer 1

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^
2
  • The only difference is convenience? 100%?
    – Mente
    Oct 13, 2015 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, 2015 at 16:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .