Server Fault is a question and answer site for system and network administrators. 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

I've tried a few standard Ubuntu instances on Amazon's Web Services (AWS), but I can never find the apache package using apt-get.

Thanks, Aidan.

share|improve this question

migrated from Jan 6 '10 at 19:16

This question came from our site for professional and enthusiast programmers.

what is the output of apt-cache search 'apache2'? Can you append /etc/apt/sources.list? – Alexander T Jan 6 '10 at 19:17
up vote 4 down vote accepted

Have you looked for apache2?

In general, to find a package if you don't know its exact name, use apt-cache search:

apt-cache search apache

So for you, I'm fairly certain what you want is:

apt-get install apache2
share|improve this answer
Only one major comment here. Make sure you do apt-get update first, or it won't find anything. – Tom O'Connor Jan 6 '10 at 20:24
True, true, true. – delfuego Jan 6 '10 at 20:49
I did use the search, but it found nothing. Tom's comment was the solution! All ubuntu installations I've used before already had the list of sources so I didn't expect to have to download them. Thanks everyone! – aidan Jan 8 '10 at 11:17

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.