documentation: add mention to install build-essential

This commit is contained in:
Alex 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.
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.