sudo apt-get install xampp
after above step the following error is shown
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xampp:i386 : Depends: python-gtk2:i386 but it is not going to be installed
Depends: python-glade2:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I had the same error message.
Try this link:
http://daksh21ubuntu.blogspot.com/2012/01/how-to-install-xampp-in-ubuntu.html
I downloaded version 1.8.1 from this link:
http://www.apachefriends.org/download.php?xampp-linux-1.8.1.tar.gz
Worked perfect for me.
Good luck.
maybe ubuntu repo does not come with xampp, you can download xampp from source and install xampp