Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As per the title why isn't there a alternative to XAMPP which completely installs in Linux

share|improve this question
Welcome to Ask Ubuntu! Question like this that are open ended should be posted in the Ubuntu Forums, please see the FAQ for what is on-topic here, thanks! – RolandiXor Apr 10 '13 at 0:34
Voters, this is answerable, Ubuntu server comes with a lamp stack in tasksel – Jorge Castro May 28 '13 at 1:57

The default stack on Ubuntu (or any Linux system) is LAMP and it has been for a very long time.


LAMP is a combination of free, open source software. The acronym LAMP refers to the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software), and PHP, Perl or Python, principal components to build a viable general purpose web server.

The exact combination of software included in a LAMP package may vary, especially with respect to the web scripting software, as Perl or Python are sometimes dropped from the stack. Similar terms exist for essentially the same software suite (AMP) running on other operating systems, such as Microsoft Windows (WAMP), Mac OS (MAMP), Solaris (SAMP), iSeries (iAMP), or OpenBSD (OAMP).

Ubuntu has a special program to install extra sets of software (like LAMP); you can install it with

sudo apt-get install tasksel

and then choose from a list of options LAMP:

enter image description here

The system will install a pre-configured version of LAMP and will also ask for password for MySQL admin. This has worked out of the box for me for years

Besides that: please avoid using XAMP since the LAMP stack in Ubuntu is better tested and hardend.

Easiest method installing LAMP is this single command:

sudo apt-get install lamp-server^

The ^ indicates apt-get needs to install the task lamp-server.

share|improve this answer

Installing Xampp on Wİndows may be very needed. Because combination of multiple servers and coordinating with them settings is difficult and complex. But in Ubuntu these servers are magically so coordinated. You can install LAMPP too, but as you want install other softwares as like as Mysql Workbench, modifying new softwares with Lampp is time vesting. So you can setup all needed servers on Ubuntu easily and with some simple steps. Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu is here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.