Installing Solana CLI on ARM64
There are no pre-built ARM64 binaries for Solana. Here’s how you can build it directly from the source.
2 min readDec 14, 2024
As of December 2024, following the Solana CLI documentation on an ARM64/AARCH64 system will produce a 404 error when you get to this step:
$ sh -c “$(curl -sSfL https://release.anza.xyz/stable/install)"
> downloading stable installer
> curl: (22) The requested URL returned error: 404
> agave-install-init: command failed: downloader https://release.anza.xyz/stable/agave-install-init-aarch64-unknown-linux-gnu /tmp/tmp.qSIQQAtFsI/agave-install-init`
In tandem with ChatGPT and Leo AI (via the Brave browser), here’s a tutorial on how you can build Solana directly from the source.
1.) Install Required Dependencies
Update system packages:
sudo apt update && sudo apt upgrade -y
Install Build Tools:
sudo apt install -y build-essential clang cmake curl git libssl-dev pkg-config
Install Rust (Solana CLI is written in Rust):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustup update