Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 755 Bytes

build-deb.md

File metadata and controls

29 lines (24 loc) · 755 Bytes

How to Build Duniter-V2S Debian Package

Compile packages for native integration for Debian-based systems.

With Docker (on any system)

  1. Install Docker and Docker Buildx.
  2. Use the scripts/build-deb.sh script.
  3. The .deb packages will be located in the target/debian folder.

Without Docker (on a Debian-based system)

  1. Install the necessary dependencies:
    sudo apt-get install -y clang cmake protobuf-compiler libssl-dev
  2. Compile the project:
    cargo build --release
  3. Install cargo-deb:
    cargo install cargo-deb
  4. Build the Duniter node .deb package:
    cargo deb --no-build -p duniter
  5. The .deb package will be located in the target/debian folder.