Install LAMP on Ubuntu/Mint with one command

Open terminal and type the command:

sudo apt-get install tasksel

Now to install LAMP, type the taskel command in terminal

sudo tasksel