This is simple how to tutorial to install XAMPP stack on Ubuntu 15.04 and its officiall flavors.
You can install XAMPP packages from their website http://www.apachefriends.org/download.html. The latest version is 5.6.8,as is released.
First, make the installer executable with chmod:
sudo chmod +x xampp-linux-x64-5.6.8-0-installer.run
Then run the installer:
When you asked a couple of question, just answer it with “Y”. The XAMPP stack is installed on /opt/lampp
You can test it, with this command to start the XAMPP stack:
sudo /opt/lampp/lampp start