summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-04-17 06:43:43 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-04-17 06:43:43 -0400
commit1503b3175f2a07dbd405c113948c07f872e4e899 (patch)
treeb90621928ef905cf61e9fa6ee371c67bf6cce32b /README.md
parent0345e089aab2c42ed69dc876afe2d55ada87683d (diff)
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*
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/README.md b/README.md
index 19e70be2..0ed617c2 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`.