This question already has an answer here:

I downloaded Apache httpd-2.4.18.tar.gz file. But I don't know how to install that one?!

marked as duplicate by user117103, Eric Carvalho, andrew.46, Pilot6, muru Apr 4 '16 at 2:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    And you're not installing Apache from repositories because? – xangua Apr 2 '16 at 16:15

It's more complicated to install a package from source. Maybe it would be easier to install it directly by using apt-get install apache2

Otherwise with your downloaded file, you can install it too...

Extract the file

gzip -d httpd-NN.tar.gz
tar xvf httpd-NN.tar

Go on your extracted folder

cd httpd-NN


./configure --prefix=PREFIX

Compile the package


Install it

make install

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