Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Redis 2.4 was recently released and I'm interested in upgrading my current Redis install which is version 2.2. Do I just need to download and compile it like I did 2.2 or do I delete 2.2 first then install 2.4? Linux commands would be appreciated or even a guide on how to generally upgrade linux programs not using apt. Thanks!!

share|improve this question

migrated from Oct 18 '11 at 9:06

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

up vote 4 down vote accepted

As Redis 2.4 is not in the Repository for testing or unstable, you will need to compile it manually. Just uninstall the old version of Redis (via apt), and compile the new one.

Try this to install Redis 2.4

tar xzvf redis-2.4.0.tar.gz
cd redis-2.4
make install
make test
share|improve this answer
Thanks a lot for this answer. It works perfectly. – Chaz Oct 17 '11 at 21:46

There are a few PPAs that seems to be tracking the latest redis, this one seems to have builds for most distributions.

You can install from it by running:

sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server

Edit:, now has redis 2.6

share|improve this answer

With the upcoming (slated for October 18th, 2012) release of the next Ubuntu version, Quantal Quetzal the redis-server package is getting upgraded to redis v2.4.15.

It is 3 minor patch versions behind the current stable redis release, but is still likely the best (ie. most supported) way to upgrade from v2.2 to v2.4.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.