Installation

In this tutorial, you will learn about the dependencies that need to be installed to run Fiamma.

Step 1: Install Golang

Fiamma requires Golang version 1.22.3 for Fiamma to be installed on your system. Install it using the instructions on the provided link.

For Linux server installation of Go language, you can refer to the commands below, and for installation tutorials of Go language on other operating systems, you can refer to the official Go language documentation.

wget https://golang.org/dl/go1.22.3.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz
echo 'export GOROOT=/usr/local/go' >> ~/.profile
echo 'export GOPATH=$HOME/go' >> ~/.profile
echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> ~/.profile
source ~/.profile

After executing the above commands, you should check that the version of go is the same as the required version.

$ go version
go version go1.22.3 linux/amd64

Step 2: Build and Install Fiamma

You need to clone Fiamma’s GitHub repository to install the fiammad executable.

  1. Install build requirements

sudo apt-get install -y make git bash gcc curl jq pkg-config openssl libssl-dev
  1. Retrieve the Fiamma source code either through the releases page or by cloning the source code.

  2. Navigate to the directory that contains the Fiamma source code. From there build and install the fiammad executable

git checkout <version_to_install>
make install
  1. Check fiammad command

$ fiammad version

Note! he last command first executes git checkout in the specific version that you want to install. Ensure that you install the same version of the Fiamma executable as the one that is running on the network you aim to join.

Last updated