Add installation notes for Arch Linux users

This commit is contained in:
murlakatamenka 2020-03-16 18:54:03 +03:00
parent e192162d90
commit 3410679041

View file

@ -116,6 +116,21 @@ page, or you can install it from source using the following command:
$ cargo xtask install --server $ cargo xtask install --server
---- ----
==== Arch Linux
`rust-analyzer` binary can be installed from AUR (Arch User Repository):
- https://aur.archlinux.org/packages/rust-analyzer-bin[`rust-analyzer-bin`] (binary from GitHub releases)
- https://aur.archlinux.org/packages/rust-analyzer[`rust-analyzer`] (built from latest tagged source)
- https://aur.archlinux.org/packages/rust-analyzer-bin/[`rust-analyzer-git`] (latest git version)
Install it with AUR helper of your choice, for example:
[source,bash]
----
$ yay -S rust-analyzer-bin
----
=== Emacs === Emacs
Emacs support is maintained https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-rust.el[upstream]. Emacs support is maintained https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-rust.el[upstream].