Installing on
Alpine Linux

Riak KV can be installed on Alpine Linux using a binary package from the Riak repository.

The following steps have been tested to work with Riak KV on:

  • Alpine Linux 3.18 using x86_64
  • Alpine Linux 3.18 using aarch64
  • Alpine Linux 3.21 using x86_64
  • Alpine Linux 3.21 using aarch64

Riak 64-bit Installation

To install Riak on Alpine Linux:

  1. Add the Riak repository:
    • For Apline Linux 3.18 run sudo echo "https://files.tiot.jp/alpine/v3.18/main" >> /etc/apk/repositories
    • For Apline Linux 3.21 run sudo echo "https://files.tiot.jp/alpine/v3.21/main" >> /etc/apk/repositories
  2. Download and install the Riak repository public key:
    • Run wget http://files.tiot.jp/alpine/alpine@tiot.jp.rsa.pub -O /etc/apk/keys/alpine@tiot.jp.rsa.pub
  3. Update your list of packages:
    • Run apk update
  4. Install Riak:
    • For the latest version, run apk add riak
    • For version 3.2.0 using OTP 22, run apk add riak=3.2.0.22-r1
    • For version 3.2.0 using OTP 24, run apk add riak=3.2.0.24-r1
    • For version 3.2.0 using OTP 25, run apk add riak=3.2.0.25-r1

Next Steps

Now that Riak is installed, check out Verifying a Riak Installation.