Skip to content

Instantly share code, notes, and snippets.

@dmitry-markin
Last active June 26, 2024 15:02
Show Gist options
  • Save dmitry-markin/437498517c8d0db1dc1c69b207b9d381 to your computer and use it in GitHub Desktop.
Save dmitry-markin/437498517c8d0db1dc1c69b207b9d381 to your computer and use it in GitHub Desktop.
polkadot-sdk dev quick start guide Ubuntu 24.04

polkadot-sdk dev quick start guide for Ubuntu 24.04

System packages

sudo apt install -y        \
    build-essential        \  # for Rust
    protobuf-compiler      \  # for protobuf schemas in litep2p
    libclang-common-18-dev    # for librocksdb bindgen custom build (fixes "fatal error: 'stdarg.h' file not found")

Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh              # see https://rustup.rs/ for up-to-date command
rustup toolchain install nightly
rustup target add wasm32-unknown-unknown                                    # for WASM runtimes
rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu   # for WASM runtimes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment