There is no supported Ubuntu version containing a lamp-server
meta-package. But you can ...
sudo apt-get install lamp-server^
to search through apt-cache
for the tasks lamp-server
and install the packages in one step.
Example for apt-cache show apache2
:
Package: apache2
Priority: optional
Section: web
…
Description-en: Apache HTTP Server
The Apache HTTP Server Project's goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.
.
Installing this package results in a full installation, including the
configuration files, init scripts and support scripts.
Description-md5: d02426bc360345e5acd45367716dc35c
Homepage: http://httpd.apache.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master
Alternatively you can use tasksel
:
sudo apt-get install tasksel
sudo tasksel install lamp-server
Read the great answer here for the differences.
lamp-server
package. It did indeed exist, and I've installed it. But I do not know since which version it was removed. – Oxwivi Oct 25 '15 at 17:41for i in {breezy,dapper,edgy,feisty,gutsy,hardy,hoary,intrepid,jaunty,karmic}; do curl -s http://old-releases.ubuntu.com/ubuntu/dists/$i/main/binary-amd64/Packages.bz2 | bunzip2 | grep -m1 lamp-server && echo $i; done
– muru Oct 26 '15 at 10:04