documentation: add mention to install build-essential

This commit is contained in:
Alex Auvolat 2022-02-16 12:18:24 +01:00
parent 84613e66a2
commit 2465163e39
No known key found for this signature in database
GPG Key ID: EDABF9711E244EB1

View File

@ -4,9 +4,7 @@ weight = 10
+++ +++
Garage is a standard Rust project. Garage is a standard Rust project. First, you need `rust` and `cargo`. For instance on Debian:
First, you need `rust` and `cargo`.
For instance on Debian:
```bash ```bash
sudo apt-get update 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. 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` ## Using source from `crates.io`
Garage's source code is published on `crates.io`, Rust's official package repository. Garage's source code is published on `crates.io`, Rust's official package repository.