From 236ecd6d6a770e3b8f0921e88d759889519ed33a Mon Sep 17 00:00:00 2001 From: steviez Date: Wed, 12 Feb 2025 21:25:26 -0600 Subject: [PATCH] docs: Remove copied installation commands (#4908) The install instructions are unlikely to change, but link to them so we don't retain stale instructions should they ever change (cherry picked from commit e9ecfe0e8f717aa8f2b60a60b2ffb29025556e46) --- docs/src/cli/install.md | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/docs/src/cli/install.md b/docs/src/cli/install.md index e110527121dd7d..308436778eda1d 100644 --- a/docs/src/cli/install.md +++ b/docs/src/cli/install.md @@ -156,15 +156,13 @@ installed on your system. Before building from source, make sure to install the following prerequisites: -#### For Debian and Other Linux Distributions: +#### Rust -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. +For all platforms, check "Install Rust" at +[https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install) +for the latest installation instructions. -```bash -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -``` +#### For Debian and Other Linux Distributions: Install build dependencies: @@ -188,17 +186,13 @@ Replace `apt` with your distribution's package manager (e.g., `yum`, `dnf`, #### For macOS: -Install Homebrew (if not already installed), check "Install Homebrew" at -[https://brew.sh/](https://brew.sh/), which recommends the following command: +Check "Install Homebrew" at [https://brew.sh/](https://brew.sh/) for the latest +installation instruction for Homebrew if not already installed. -```bash -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -``` - -Install the necessary tools and libraries using Homebrew: +Then, install build dependencies with `brew`: ```bash -brew install rust pkg-config libudev protobuf llvm coreutils +brew install pkg-config libudev protobuf llvm coreutils ``` Follow the instructions given at the end of the brew install command about @@ -206,14 +200,6 @@ Follow the instructions given at the end of the brew install command about #### For Windows: -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 -``` - - Download and install the Build Tools for Visual Studio (2019 or later) from the [Visual Studio downloads page](https://visualstudio.microsoft.com/downloads/).