summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSebastian Torres <torrescsebas@gmail.com>2018-01-12 20:44:28 -0300
committerAndrew Gallant <jamslam@gmail.com>2018-01-12 18:44:28 -0500
commitf00625c3f43a030330477f9785c723b14a0e77e1 (patch)
tree5824285f7c3900eef75a68e3f4cd663a4873371f /README.md
parent82d03b99cdc134c99df44a62e5eb4ed4ed42b0b3 (diff)
readme: add Ubuntu install instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index b73b4c74..27aead57 100644
--- a/README.md
+++ b/README.md
@@ -154,7 +154,7 @@ The binary name for `ripgrep` is `rg`.
**[Archives of precompiled binaries for `ripgrep` are available for Windows,
macOS and Linux.](https://github.com/BurntSushi/ripgrep/releases)** Users of
-platforms not explicitly mentioned below (such as Debian and Ubuntu) are advised
+platforms not explicitly mentioned below (such as Debian) are advised
to download one of these archives.
Linux binaries are static executables. Windows binaries are available either as
@@ -225,6 +225,15 @@ $ nix-env --install ripgrep
$ # (Or using the attribute name, which is also `ripgrep`.)
```
+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).
+
+```
+sudo snap install rg
+```
+
If you're a **Rust programmer**, `ripgrep` can be installed with `cargo`.
* Note that the minimum supported version of Rust for ripgrep is **1.17**,
although ripgrep may work with older versions.