Skip to content

Commit

Permalink
Draft build docs solana-labs#2
Browse files Browse the repository at this point in the history
  • Loading branch information
jcleira committed Dec 13, 2023
1 parent 656a93b commit 7efc04a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/src/cli/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ Before building from source, make sure to install the following prerequisites:

#### For Debian and Other Linux Distributions:
1. Rust Programming Language:
Check "Install Rust" at [https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install), which recommends the following command.
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
Expand Down Expand Up @@ -183,14 +184,15 @@ Before building from source, make sure to install the following prerequisites:
Replace `apt` with your distribution's package manager (e.g., `yum`, `dnf`, `pacman`) and adjust package names as needed.

#### For macOS:
1. Install Homebrew (if not already installed):
1. Install Homebrew (if not already installed), check "Install Hombrew" at [https://brew.sh/](https://brew.sh/), which recommends the following command:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
2. Install the necessary tools and libraries using Homebrew:
```bash
brew install rust pkg-config libudev protobuf llvm
brew install rust pkg-config libudev protobuf llvm coreutils
```
3. Follow the instructions given at the end of the brew install command about PATH configurations.

#### For Windows:
1. **Install Rust for Windows**: Download and install Rust from [rustup.rs](https://rustup.rs/).
Expand Down

0 comments on commit 7efc04a

Please sign in to comment.