From 2465163e3977776d6f3155c60fbf8ad7e7797499 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 16 Feb 2022 12:18:24 +0100 Subject: [PATCH] documentation: add mention to install build-essential --- doc/book/cookbook/from-source.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/book/cookbook/from-source.md b/doc/book/cookbook/from-source.md index 84c0d51..5973d41 100644 --- a/doc/book/cookbook/from-source.md +++ b/doc/book/cookbook/from-source.md @@ -4,9 +4,7 @@ weight = 10 +++ -Garage is a standard Rust project. -First, you need `rust` and `cargo`. -For instance on Debian: +Garage is a standard Rust project. First, you need `rust` and `cargo`. For instance on Debian: ```bash sudo apt-get update @@ -15,6 +13,13 @@ sudo apt-get install -y rustc cargo You can also use [Rustup](https://rustup.rs/) to setup a Rust toolchain easily. +In addition, you will need a full C toolchain. On Debian-based distributions, it can be installed as follows: + +```bash +sudo apt-get update +sudo apt-get install build-essential +``` + ## Using source from `crates.io` Garage's source code is published on `crates.io`, Rust's official package repository.