Skip to content

Instantly share code, notes, and snippets.

@rafecolton
Last active August 29, 2015 13:56
Show Gist options
  • Save rafecolton/8982564 to your computer and use it in GitHub Desktop.
Save rafecolton/8982564 to your computer and use it in GitHub Desktop.
Install redis from source
#!/usr/bin/env bash
# to use, run the following command:
# bash <(curl -s https://gist.github.com/rafecolton/8982564/raw/7e1ddc069e57810c4f9ee5ca109244b0b5cc0270/install-redis.sh)
cd "$HOME"
curl -s -O http://download.redis.io/redis-stable.tar.gz
tar -xzf redis-stable.tar.gz
cd redis-stable
make
make PREFIX=/usr install
apt-get install -y tcl8.5
make test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment