Download Riak 2.0

Installing Riak from Source

Riak should be installed from source if you are building on a platform for which a package does not exist or if you are interested in contributing to Riak.

Dependencies

To install Riak, you will need to have Erlang installed. We strongly recommend using Basho's patched version of Erlang to install Riak 2.0. All of the patches in this version have been incorporated into later versions of the official Erlang/OTP release.

If you do not have Erlang already installed, see Installing Erlang. Don't worry, it's easy!

Riak depends on source code located in multiple Git repositories; ensure that Git is also installed on the target system before attempting the build.

Note on Clang

Riak will not compile with Clang. Please make sure your default C/C++ compiler is GCC.

Installation

The following instructions generate a complete, self-contained build of Riak in $RIAK/rel/riak where $RIAK is the location of the unpacked or cloned source.

Installing from source package

Download the Riak source package from the Download Center and build:

curl -O http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.2/riak-{{VERSION}.tar.gz
tar zxvf riak-2.0.2.tar.gz
cd riak-2.0.2
make rel

Installing from GitHub

The Riak Github respository has much more information on building and installing Riak from source. To clone and build Riak from source, follow the steps below.

Clone the repository using Git and build:

git clone git://github.com/basho/riak.git
cd riak
make rel

Platform Specific Instructions

For instructions about specific platforms, see:

If you are running Riak on a platform not in the list above and need some help getting it up and running, join The Riak Mailing List and inquire about it there. We are happy to help you get up and running with Riak.

Windows

Riak is not currently supported on Microsoft Windows.

Next Steps?

From here you might want to check out: