Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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'm running a Debian web server. Though the packages are up-to-date, current vulnerability detection software (for instance Nessus) found several potential security risks that exist in the software provided by these packages -- my greatest concerns being Apache and PHP.

I'm planning to work around this by compiling them myself from source, but I'm not really sure about the steps I should take first. Should I uninstall Apache/PHP packages before installing from source? What about their dependencies?

share|improve this question
up vote 1 down vote accepted

The very first thing to do is to check the changelogs for the packages to be certain that they haven't been patched for the vunerabilit(y/ies) already; several vendors backport security patches to older versions.

Once you've done that, you should uninstall the system packages so that there is less confusion as to which version is being run. Unfortunately you will usually have to deal with the packages that depend on them yourself, building from source as required.

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.