How to install LAMP in ubuntu


Open terminal or press Ctrl + Alt +T and type the following command
sudo apt-get install lamp-server^

lamp 2

When you search for the name of the package that the given command seems to install cannot be found using apt-cache search. e.g. You will see this used most often when someone tells you how to install LAMP server setup (Linux-Apache-MySQL-PHP) by using the command “sudo apt-get install lamp-server^”. If you miss the caret at the end or try to search for lamp-server, it just doesn’t work.

sudo apt-get install lamp-server

lamp 1

The caret symbol is a short form for performing a task that otherwise the program “tasksel” would have done with the given package name. tasksel is a program to ease the installation of commonly used things that go together for a particular use.


You can leave a response, or trackback from your own site.

Leave a Reply