How can I install Apache 2.4.9 on Debian 7?

Discussion in 'Systems Administration' started by TheMcGuider, Jun 13, 2014.

Thread Status:
Not open for further replies.
  1. Hey there,

    I'm not sure how I can install Apache 2.4.9 (latest) on my Debian 7.5 Wheezy dedicated server.
    The command I'm using is:
    But that only installs Apache 2.2.x .
    Is there any way I can get Apache 2.4.9 via repository or something like that?
  2. #3 TheMcGuider, Jun 13, 2014
    Last edited: Jun 13, 2014
  3. I think Appache 2.4.9 is still in testing mode and that's why you can't install it from $ app--get install appache2. If you're using a test build, just as @vemacs said, you will be able to install it.
  4. Apache 2.4.9 was recently released ( and I'm trying to install the 2.4.9-2 Alpha build ( but it's not working.
  5. Why do you need the latest version?
  6. Tux


    You will need to compile Apache from source code. Debian doesn't automagically update its software in stable (or wheezy); there's a reason why it's the stable distribution.
  7. It seems like IRedMail can't install without it and the support told me to get that version.
  8. Apache 2.4.9-2 (Dev) is available from there but I have no clue how to install it.
  9. Tux


    The safest way is just to compile Apache from source. If you still insist on using Debian packages, I refer you to vemacs's answer because it does a better job than me explaining it.
  10. Not sure if I'm doing right but here is what I did:
    - From I added:
    onto /etc/apt/sources.list and then I ran this
    $ apt-get update
    $ apt-get -t testing install apache2
    (returned: E: The value 'testing' is invalid for APT::Default-Release as such a release is not available in the sources)
  11. Tux


    You need to use sid, not testing.
    • Like Like x 1
  12. jflory7

    jflory7 Retired Moderator
    Retired Benefactor

    Thread locked per request
Thread Status:
Not open for further replies.