Compile packages for native integration for Debian-based systems.
- Install Docker and Docker Buildx.
- Use the
scripts/build-deb.sh
script. - The
.deb
packages will be located in thetarget/debian
folder.
- Install the necessary dependencies:
sudo apt-get install -y clang cmake protobuf-compiler libssl-dev
- Compile the project:
cargo build --release
- Install
cargo-deb
:cargo install cargo-deb
- Build the Duniter node
.deb
package:cargo deb --no-build -p duniter
- The
.deb
package will be located in thetarget/debian
folder.