Arcium Docs
arcium.com@ArciumHQ
  • Documentation
  • Developers
  • Intro to Arcium
  • Installation
    • Arcup Version Manager
  • Hello World with Arcium
  • Arcium Computation Lifecycle
  • Encryption
    • Sealing aka re-encryption
  • Arcis
    • Operations
    • Types
    • Input/Output
    • Best practices
  • Invoking a Computation from your Solana program
    • Computation Definition Accounts
    • Callback Accounts
  • JavaScript Client
    • Encrypting inputs
    • Tracking callbacks
  • Callback Server
  • Current Limitations
Powered by GitBook
On this page
  • Rust
  • Solana
  • Yarn
  • Anchor
  • Docker & Docker Compose
  • Installing using the Arcium version manager (arcup)
  • Issues
  • Missing dependencies
  • Incorrect $PATH

Installation

PreviousIntro to ArciumNextArcup Version Manager

Last updated 8 days ago

Rust

Go to install Rust.

Solana

Go to install Solana and then run solana-keygen new to create a keypair at the default location. Arcium uses this keypair to run your program tests.

Yarn

Go to install Yarn.

Anchor

Go to install Anchor.

Docker & Docker Compose

Go to install Docker and to install Docker Compose. To test correct installation, make sure docker compose (and not docker-compose) is installed by running docker compose --version.

Installing using the Arcium version manager (arcup)

Install arcup. We currently support 4 pre-built targets, listed below. We do not support Windows at the moment.

  • aarch64_linux

  • x86_64_linux

  • aarch64_macos

  • x86_64_macos

You can install it by replacing <YOUR_TARGET> with the target you want to install, and running the following command:

TARGET=<YOUR_TARGET> && curl "https://bin.arcium.com/download/arcup_${TARGET}_0.1.47" -o ~/.cargo/bin/arcup && chmod +x ~/.cargo/bin/arcup

Install the latest version of the CLI using arcup:

arcup install

Verify the installation.

arcium --version

Issues

Installation might fail due to a variety of reasons. This section contains a list of the most common issues and their solutions, taken from anchor's installation guide.

Missing dependencies

On Linux systems you may need to install additional dependencies. E.g. on Ubuntu:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev libssl-dev

Incorrect $PATH

To verify that the PATH environment variable was set up correctly, run:

which arcium

the output should look like (with your username):

/home/user/.cargo/bin/arcium

arcup is a tool for managing versioning of the arcium tooling (including the cli and MPC node). More info on it can be found . It will require the same dependencies as building from source.

Rust binaries, including arcup and arcium, are installed to the ~/.cargo/bin directory. Since this directory is required to be in the PATH environment variable, installation tries to set it up automatically, but it might fail to do so in some platforms.

here
here
here
here
here
here
here
Rust