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

I'm going to install PHP and Apache, and instructions say: "You need a respectable ANSI-C compiler and build system,two items that are available through all of the major distributions' package managers", so I checked out Ubuntu's synaptic package manager, but I'm not sure whether these two are enabled by default.

share|improve this question

migrated from Aug 22 '11 at 6:46

This question came from our site for professional and enthusiast programmers.

If you know this little about the build process, I wouldn't go compiling Apache and PHP.

Instead, install Ubuntu's precompiled packages like this:

sudo apt-get install apache2 php5

If you still want to go ahead with compilation, the other answers are what you're looking for.

share|improve this answer

In Ubuntu the meta package that will install the tools you need is called build-essential. It will install gcc, make, and some header files.

share|improve this answer

As far as I know, this should be as simple as sudo apt-get install gcc to install the GNU C compiler which should work for your purposes.

You may also need build-essential.

share|improve this answer

Well, you will need gcc and make :)

share|improve this answer

You must log in to answer this question.