aboutsummaryrefslogtreecommitdiff
path: root/doc/book/cookbook/from-source.md
diff options
context:
space:
mode:
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.