Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

migrated from stackoverflow.com Oct 18 '11 at 9:06

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

3 Answers

up vote 3 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

wget http://redis.googlecode.com/files/redis-2.4.0.tar.gz
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
add comment

There are a few PPAs that seems to be tracking the latest redis, this one https://launchpad.net/~chris-lea/+archive/redis-server 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: https://launchpad.net/~rwky/+archive/redis, now has redis 2.6

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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