root@ubuntu-server:~# apt-get install lamp-server^ Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lamp-server^ E: Couldn't find task 'lamp-server' E: Couldn't find any package by regex 'lamp-server^'
Answer2: If you are installing a package for the first time then you have update source cache and you can install.
In terminal do as
Answer1: You can install it with tasksel easily.
and in the options choose LAMP server and forward.
Hope it helps.
Try running the following: