Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Are there any differences between installing Apache httpd using sudo apt-get install apache2 (as the guide of Ubuntu says - ) or following the steps on the Apache documentation (

I tried both ways; in the first case (using apt-get) the server seems to work - I open a browser page and I got it. In the second case I need other packages (apr, apr-util and pcre) and so I abandoned the attempt.

share|improve this question
I doubt if that's what you want, but have you tried XAMPP? – Vishal Nov 9 '12 at 10:26
Thank you. I had never heard before, but reading the official site it seems a good choice. However I'd like to know the answer to my question. – JustTrying Nov 9 '12 at 10:36
Use the LAMP install from command tasksel and you will get all you want plus it will be already configured for Ubuntu. – Rinzwind Nov 9 '12 at 11:05
up vote 2 down vote accepted

It is because when you use apt-get (default package manager for Ubuntu), it automatically installs the dependencies. But when installing manually (using ./configure, make and make install), you'll have to make sure that the dependencies are already installed for the program to work. Otherwise, you'll have to manually install the required dependencies as well.

You can refer the answer to this question for further details:
Installing suggested/recommended packages?

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.