System Requirements

There are several system requirements including fuelup, llvm, clang and postgres.

Fuel system dependencies

Getting started with a Fuel indexer requires a single primary dependency from the Fuel ecosystem -- fuelup

  • fuelup installs the Fuel toolchain from Fuel's official release channels, enabling you to easily keep the toolchain updated. For more info, take a look at the fuelup repo.

Installation

To install fuelup

fuelup toolchain install latest

Other system dependencies

Ubuntu/Debian

apt update
apt install -y cmake pkg-config git \
    gcc build-essential clang libclang-dev llvm libpq-dev
DependencyRequired For
cmakeManages the build process in an operating system and in a compiler-independent manner
pkg-configLanguage-agnostic helper tool used when compiling applications and libraries
gitVersion control system
gccCompiler tools required to build various Fuel Indexer crates
clangCompiler tools required to build various Fuel Indexer crates on Unix-like OSes
llvmRequired for building Fuel Indexer crate dependencies
libpq-devSet of library function helping facilitate interaction with the PostgreSQL backend

MacOS

brew update
brew install cmake llvm libpq postgresql
DependencyRequired For
cmakeManages the build process in an operating system and in a compiler-independent manner
llvmCompiler infrastructure for building Fuel Indexer crate dependencies
libqPostgres C API library
postgresqlInstalls the command line console (psql) as well as a PostgreSQL server locally

Arch

pacman -Syu --needed --noconfirm cmake \
    gcc pkgconf git clang llvm11 llvm11-libs postgresql-libs
DependencyRequired For
cmakeManages the build process in an operating system and in a compiler-independent manner
gitVersion control system
gccCompiler tools required to build various Fuel Indexer crates
llvm11Compiler infrastructure for building Fuel Indexer crate dependencies
llvm11-libsCompiler infrastructure libs for building Fuel Indexer crate dependencies
pkgconfSystem for configuring build dependency information
postgresql-libsProvides the essential shared libraries for any PostgreSQL client program or interface
clangCompiler required to build various Fuel Indexer crates Unix-like OSes