Skip to content

Install Ark server dependencies

Required dependencies

Install PostgreSQL

Run PostgreSQL in a Docker container

docker run \
  --name my_postgres \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_PASSWORD=postgres \
  -e POSTGRES_DB=postgres \
  -p 5432:5432 \
  -d postgres

Install PostgreSQL

brew install postgresql
Start the PostgreSQL service
brew services start postgresql

Update package list and install PostgreSQL

sudo apt update
sudo apt install postgresql
Start the PostgreSQL service
sudo systemctl start postgresql

Install PostgreSQL server

sudo dnf install postgresql-server
Initialize the database
sudo postgresql-setup --initdb
Start the PostgreSQL service
sudo systemctl start postgresql

Download PostgreSQL from the official download page

Follow the platform-specific installation and run instructions on the download page

Verify the PostgreSQL installation

After installing PostgreSQL using any of the methods above, you can verify it's running correctly with:

psql -h localhost -U postgres -c "SELECT version();"

If this command returns the PostgreSQL version information, your installation is working properly.

Install Bitcoin Core

Bitcoin Core v28.0+ is strongly recommended.

Manual installation from official site

Download Bitcoin Core from the official download page and follow the installation instructions for your operating system.

For Linux systems, you can unpack the zip and add bitcoind and bitcoin-cli to your path.

Verify the Bitcoin Core installation

Verify that Bitcoin Core is installed correctly:

bitcoind --version

Install Just

Just is a command runner that simplifies running common tasks. You'll need it to run the tests.

Install using package managers

Install Just using Homebrew

brew install just

Install Just using cargo (Rust package manager)

cargo install --locked just

Verify the Just installation

Verify that Just is installed correctly:

just --version

Install jq

jq is a command-line tool for processing JSON data. It's needed to run tests and follow demo scenarios.

Install jq using Homebrew

brew install jq

Update package list and install jq

sudo apt update
sudo apt install jq

Install jq using dnf

sudo dnf install jq

Download the binaries from the GitHub releases page.

Verify the jq installation

Verify that jq is installed correctly:

jq --version