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