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

It seems like the nginx package in debian wheezy apt-get is old and only goes up to 1.2 whereas the latest version is 1.4

Do I really have to build it from source or is there a way to get the latest version from apt-get another way?

share|improve this question
up vote 1 down vote accepted

Debian packages are significantly behind the bleeding edge. This is by design.

The folks at upstream prioritise stability over keeping in-line with the newest versions. 1.2 might be old, but it's not likely to break much any time soon.

If you feel particularly brave, you can switch to the unstable or testing branches of debian (which Wheezy now is not, having just been released :D) by editing /etc/apt/sources.list - you'll want to replace instances of stable or wheezy to read testing or unstable (sid, if you're feeling especially silly). You'll then need to do an apt-get update, apt-get dist-upgrade and watch your system upgrade to the specified version.

There are ways to avoid updating the entire system, and still upgrade one package via apt-get, but the risk involved in this is quite high, and it's not likely to work. If you think you've got all the dependencies, you might try building from source; take a good look at the output from ./configure --help to see what flags it'll take and decide which ones to use. Of course, you won't be covered by the package manager in this case.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .