Introduction

This document describes how to install an Aeternity node using a release binary either by:

Quick install

Run below command to install latest version of aeternity node and follow the instructions:

bash <(curl -s https://install.aeternity.io/install.sh)

While this method is the easiest one it is not recommended for production systems.

Package Install

Installing from a package manager is the recommended way of installing the aeternity node, as it also automatically installs the additional requirements and makes the updates much more simple.

Ubuntu

The only supported version so far is 18.04 Bionic (x86-64).

sudo apt-get install software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D18ABB45C5AF91A0D835367E2106A773A40AFAEB
sudo apt-add-repository 'deb https://apt.aeternity.io bionic main'
sudo apt-get install aeternity-node
sudo service aeternity-node start

macOS

Minimum required version is macOS Big Sur 11.6.2 (x86-64).

brew tap aeternity/aeternity
brew install aeternity-node

Tarball Install

In order to install an Aeternity node from a tarball, you need to:

Retrieve release tarball

The release binaries are published on GitHub and are tested on the following platforms:

  • Ubuntu 18.04 LTS (x86-64);
  • macOS Big Sur 11.6.2 (x86-64).

Install dependencies

Package dependencies are:

Ubuntu dependencies

Supported Ubuntu version is 18.04.

The package requires libssl and libsodium v1.0.16 as libsodium.so.23 shared object/library. Ubuntu 18.04 ships with libssl 1.1 and libsodium 1.0.16, thus it can be installed with apt package manager:

sudo apt-get install libsodium23 libssl1.1

macOS dependencies

Easiest way to install dependencies is using Homebrew:

brew update
brew install openssl libsodium

The macOS package has:

  • A hard dependency on OpenSSL v1.1 installed with Homebrew in its default path /usr/local/opt/openssl/lib/libcrypto.1.1.dylib;
  • A hard dependency on libsodium v1.0.16 installed with Homebrew in its default path /usr/local/opt/libsodium/lib/libsodium.23.dylib.

In case you have installed either of them in a non-default path, you could use symlink(s) to work around the issue. You can create those symlinks by running the following commands:

ln -s "$(brew --prefix openssl)"/lib/libcrypto.1.1.dylib /usr/local/opt/openssl/lib/libcrypto.1.1.dylib
ln -s "$(brew --prefix libsodium)"/lib/libsodium.23.dylib /usr/local/opt/libsodium/lib/libsodium.23.dylib

Deploy node

In the instructions below, the node is deployed in directory ~/aeternity/node: you may prefer to deploy the node in an alternative location by amending the instructions accordingly.

It is recommended that the partition where the node directory is has at least 100 GB free: this is needed for the chain and the log files.

Open a Terminal window or get to the command line. Create a directory and unpack the downloaded package (you need to amend the directory and/or file name of the package):

mkdir -p ~/aeternity/node
cd ~/aeternity/node
tar xf ~/Downloads/aeternity-<package_version>-macos-x86_64.tar.gz