From 508d1230d851c2411737131be52a2e0165236a5e Mon Sep 17 00:00:00 2001
From: mjkalyan <34904034+mjkalyan@users.noreply.github.com>
Date: Thu, 3 Jun 2021 00:16:23 -0600
Subject: manual.adoc: add Gentoo Linux installation method

Added installation instructions for the binary ebuild of the "latest" `rust-analyzer` in Gentoo's GURU repository.
---
 docs/user/manual.adoc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'docs/user/manual.adoc')

diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index 1f95df56e..9a8d76700 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -187,6 +187,20 @@ Install it with pacman, for example:
 $ pacman -S rust-analyzer
 ----
 
+==== Gentoo Linux
+
+`rust-analyzer` is available in the GURU repository:
+
+- https://gitweb.gentoo.org/repo/proj/guru.git/tree/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild[`dev-util/rust-analyzer-bin-9999`] (the https://github.com/rust-analyzer/rust-analyzer/releases/latest[latest release] as a live binary ebuild)
+
+If not already, GURU must be enabled (e.g. using `app-eselect/eselect-repository`) and sync'd before running `emerge`:
+
+[source,bash]
+----
+$ eselect repository enable guru && emaint sync -r guru
+$ emerge rust-analyzer-bin
+----
+
 === Emacs
 
 Note this excellent https://robert.kra.hn/posts/2021-02-07_rust-with-emacs/[guide] from https://github.com/rksm[@rksm].
-- 
cgit v1.2.3

