why do you need to install xamp or wamp in linux? its very simple to setup a complete webserver in ubuntu . With 2 simple commands you can get a perfect lamp setup.

Step 1: sudo apt-get install...