Riak should be installed from source if you are building on a platform for which a package does not exist or you are interested in contributing to Riak.
Riak requires [[Erlang|http://www.erlang.org/]] R14B03 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don’t worry, it’s easy!
Riak will not compile with Clang. Please make sure your default C/C++ compiler is GCC.
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.
Download the Riak source package from the [[Download Center|http://downloads.basho.com/riak/CURRENT/]] and build:
```bash
$ curl -O http://downloads.basho.com/riak/riak-1.0.2/riak-1.0.2.tar.gz
$ tar zxvf riak-1.0.2.tar.gz
$ cd riak-1.0.2
$ make rel
```
Clone the repository using [[Git|http://git-scm.com/]] and build:
```bash
$ git clone git://github.com/basho/riak.git
$ cd riak
$ make rel
```
For instructions about specific platforms, see:
- [[Installing on Debian and Ubuntu]]
- [[Installing on Mac OS X]]
- [[Installing on RHEL and CentOS]]
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|http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com]] and inquire about it there. We’ll get you straightened out.
Riak is not currently supported on Microsoft Windows.