⚙️ Installation on Almalinux
Update System and Install Dependencies
sudo dnf update -y
sudo dnf upgrade -y
sudo dnf install -y \
curl git make clang cmake gcc gcc-c++ \
pkg-config openssl-devel systemd-devel \
wget tar lz4 whichInstall GO
GO_VERSION=1.24.2
curl -Ls https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo 'export PATH=/usr/local/go/bin:$HOME/go/bin:$PATH' | sudo tee /etc/profile.d/golang.sh > /dev/null
echo 'export PATH=/usr/local/go/bin:$HOME/go/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
go versionInstall Rust
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup update
rustup component add rust-src
rustup target add wasm32-unknown-unknown
rustup install nightly-2024-01-21
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-01-21Install Protobuf
Clone and Build Polkadot SDK
Install binaries into the system directory
Create working directory
Configure and Create a Systemd Service
Start and Enable the Service
Last updated