From 937990101316dd4e89ce576e885791267083d4c5 Mon Sep 17 00:00:00 2001 From: Aliaksandr Belik Date: Thu, 30 Nov 2023 05:28:14 +0300 Subject: [PATCH 1/2] Add Scoop installation note --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fed1c17..31d3ee0 100644 --- a/README.md +++ b/README.md @@ -63,13 +63,19 @@ rga will search for all binaries it calls in \$PATH and the directory itself is ### Windows -Install ripgrep-all via [Chocolatey](https://chocolatey.org/packages/ripgrep-all): +#### Chocolatey ``` choco install ripgrep-all ``` -Note that installing via chocolatey or scoop is the only supported download method. If you download the binary from releases manually, you will not get the dependencies (for example pdftotext from poppler). +#### Scoop + +``` +scoop install rga +``` + +Note that installing via [chocolatey](https://chocolatey.org/packages/ripgrep-all) or [scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/rga.json) is the only supported download method. If you download the binary from releases manually, you will not get the dependencies (for example pdftotext from poppler). If you get an error like `VCRUNTIME140.DLL could not be found`, you need to install [vc_redist.x64.exe](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). @@ -88,9 +94,9 @@ To install the dependencies that are each not strictly necessary but very useful rga should compile with stable Rust (v1.36.0+, check with `rustc --version`). To build it, run the following (or the equivalent in your OS): ``` - ~$ apt install build-essential pandoc poppler-utils ffmpeg ripgrep cargo - ~$ cargo install --locked ripgrep_all - ~$ rga --version # this should work now +~$ apt install build-essential pandoc poppler-utils ffmpeg ripgrep cargo +~$ cargo install --locked ripgrep_all +~$ rga --version # this should work now ``` ## Available Adapters From ebb9613926210265f2795c3b0c9f7435df10b93b Mon Sep 17 00:00:00 2001 From: Aliaksandr Belik Date: Fri, 1 Dec 2023 05:11:13 +0300 Subject: [PATCH 2/2] Move Windows installation note for better visibility --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 31d3ee0..74c914b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Linux x64, macOS and Windows binaries are available [in GitHub Releases][latestr #### Arch Linux -`pacman -S ripgrep-all`. +`pacman -S ripgrep-all` #### Nix @@ -63,6 +63,10 @@ rga will search for all binaries it calls in \$PATH and the directory itself is ### Windows +Note that installing via [chocolatey](https://chocolatey.org/packages/ripgrep-all) or [scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/rga.json) is the only supported download method. If you download the binary from releases manually, you will not get the dependencies (for example pdftotext from poppler). + +If you get an error like `VCRUNTIME140.DLL could not be found`, you need to install [vc_redist.x64.exe](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). + #### Chocolatey ``` @@ -75,10 +79,6 @@ choco install ripgrep-all scoop install rga ``` -Note that installing via [chocolatey](https://chocolatey.org/packages/ripgrep-all) or [scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/rga.json) is the only supported download method. If you download the binary from releases manually, you will not get the dependencies (for example pdftotext from poppler). - -If you get an error like `VCRUNTIME140.DLL could not be found`, you need to install [vc_redist.x64.exe](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). - ### Homebrew/Linuxbrew `rga` can be installed with [Homebrew](https://formulae.brew.sh/formula/ripgrep-all#default):