From 1503b3175f2a07dbd405c113948c07f872e4e899 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Tue, 17 Apr 2018 06:43:43 -0400 Subject: [PATCH] readme: add --classic flag to snap install It would be nicer to switch to the `ripgrep` snap package, but apparently it is configured to install with a binary name `ripgrep.rg` instead of just `rg`. *sigh* --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 19e70be..0ed617c 100644 --- a/README.md +++ b/README.md @@ -266,19 +266,15 @@ $ sudo dpkg -i ripgrep_0.8.1_amd64.deb ``` If you're an **Ubuntu** user, ripgrep can be installed from the `snap` store. + * Note that if you are using `16.04 LTS` or later, snap is already installed. * For older versions you can install snap using [this guide](https://docs.snapcraft.io/core/install-ubuntu). -* If you get permission errors when running ripgrep after installation, try - uninstalling and then re-installing with the `--classic` flag. For the latest stable release: + ``` -$ sudo snap install rg -``` -For the most recent release candidate: -``` -$ sudo snap install --candidate rg +$ sudo snap install --classic rg ``` If you're a **Rust programmer**, ripgrep can be installed with `cargo`.