Install Orb on Ubuntu 20.04 and above

Install Orb on Ubuntu 20.04 and above

These instructions are for installing Orb on Ubuntu version 20.04 (Focal Fossa) and newer releases.

Add Orb Forge's GPG key

sudo mkdir -p --mode=0755 /usr/share/keyrings
curl -fsSL https://pkgs.orb.net/stable/debian/orbforge.noarmor.gpg | sudo tee /usr/share/keyrings/orbforge-keyring.gpg >/dev/null

Add the Orb repository

curl -fsSL https://pkgs.orb.net/stable/ubuntu/ubuntu.orbforge-keyring.list | sudo tee /etc/apt/sources.list.d/orb.list

Install Orb

sudo apt-get update && sudo apt-get install orb

Enable auto-update

sudo systemctl enable --now orb-update.timer

Enable ephemeral mode (optional)

Info

Ephemeral mode prevents writes to disk by storing the Orb data in memory rather than in a local database. This is useful in applications where the file system is on a physical medium sensitive to continous writes (e.g. SD card, NAND flash).

echo 'ORB_EPHEMERAL_MODE=1' | sudo tee -a /etc/default/orb >/dev/null
sudo systemctl restart orb