Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 pastebin.com and give us the link if you cant figure it out.)

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.