Super User is a question and answer site for computer enthusiasts and power users. 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

Trying out sudo apt-get install apache2 This is what I get

root@x27:/home/test# sudo apt-get install apache2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package apache2

Appreciate help for using apt-get for apache

Thanks Dave

share|improve this question

First you should search for the package:
apt-cache search apache
aptitude search apache .

However, apache2 is the correct package. You should do a sudo apt-get update and if it won't fix it, check your /etc/apt/sources.list. (Post it to and give us the link if you cant figure it out.)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .