aboutsummaryrefslogtreecommitdiff
path: root/doc/book/cookbook/from-source.md
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-16 12:18:24 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-16 12:18:24 +0100
commit2465163e3977776d6f3155c60fbf8ad7e7797499 (patch)
tree1d41c66cd10848929398910a40ea7f59f81a6696 /doc/book/cookbook/from-source.md
parent84613e66a286536dff9828d8aca2625d2c6c6bf2 (diff)
downloadgarage-2465163e3977776d6f3155c60fbf8ad7e7797499.tar.gz
garage-2465163e3977776d6f3155c60fbf8ad7e7797499.zip
documentation: add mention to install build-essential
Diffstat (limited to 'doc/book/cookbook/from-source.md')
-rw-r--r--doc/book/cookbook/from-source.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/book/cookbook/from-source.md b/doc/book/cookbook/from-source.md
index 84c0d514..5973d411 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.