I blogged about setting up redis before, here’s a small update to the situation:

If you’re running Ubuntu 9.10 or 10.04.x, the most recent release available through aptitude is 1.x. Version 1.x doesn’t include many things (pubsub, etc.) which are available in 2.x. So this leaves you with two options!

Compile!

Compiling redis-server is simple (aka, make && sudo make install), a few things were missing (last time I checked):

Using a PPA!

The PPA (Personal Package Archive) concept is great. In a nutshell, it allows anyone to publish packages for various (Ubuntu) distributions. You upload a definition (sort of) and leverage Canonical’s build farm, etc.. There are a few downsides to Launchpad: it’s confusing, your PPA only holds the latest version of your build and overall publishing packages could be a lot easier. Which is why I’m so thankful for everyone who takes the time to publish.

Chris Lea seems to build most of the software I need. And he put all packages online in various Launchpad PPAs! Kudos to him!

Here’s how you get setup!

Discover the Launchpad PPA:

Update sources and install redis!

Done! ;-) All things (start script, configs) included!

Fin

In case that’s too much type or you’re looking for some automation, I also have a chef-recipe to get this done!