This guide will walk you through setting up your environment for the Solana Auditors Bootcamp if you prefer not to use the provided Docker image. Follow the steps below to install all the necessary tools and dependencies.
- WSL 2.0 with Ubuntu 20.04 distro or
- standalone Ubuntu 20.04
Tip
Install WSL 2.0 You can check this guide Install WSL 2.0
Update your package list and install the required packages:
sudo apt-get update
sudo apt-get install -y \
curl \
git \
build-essential \
pkg-config \
libssl-dev \
npm \
vim \
nano \
wget \
binutils-dev \
libunwind-dev \
lldb
Install Rust using the Install Rust
Set the default version:
rustup install 1.79.0
rustup default 1.79.0
Verify the installation:
rustc --version
cargo --version
Install Solana CLI using the Install the Solana CLI
Set the default version:
solana-install init 1.18.18
Verify the installation:
solana --versions
Install Node.js and Yarn for managing JavaScript dependencies:
npm install --global yarn
Install Anchor Framework using the Anchor Installation
Set the default version:
avm install 0.30.1
avm use 0.30.1
Verify the installation:
anchor --version
Trident and Honggfuzz are used for fuzz testing. Install them using the following commands:
cargo install trident-cli
cargo install honggfuzz --version 0.5.56
Clone the repository to get started with the course materials:
git clone https://github.com/Ackee-Blockchain/Solana-Auditors-Bootcamp.git
cd Solana-Auditors-Bootcamp