Add archlinux instructions to install-and-setup.md

based upon #3289 by @roland-5
This commit is contained in:
TrashCan 2024-03-13 21:42:53 -04:00 committed by Martin von Zweigbergk
parent 5806dbfd32
commit 33911712a2

View file

@ -12,7 +12,7 @@ version should work on all distributions).
If you'd like to install a prerelease version, you'll need to use one of the
options below.
#### Cargo BInstall
#### Cargo Binstall
If you use [`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall), you
can install the same binaries of the last `jj` release from GitHub as follows:
@ -28,6 +28,19 @@ be compiled from the same source code.
### Linux
### Arch Linux
You can install the `jujutsu` package from the [official extra repository](https://archlinux.org/packages/extra/x86_64/jujutsu/):
```
pacman -S jujutsu
```
Or install from the [AUR repository](https://aur.archlinux.org/packages/jujutsu-git) with an [AUR Helper](https://wiki.archlinux.org/title/AUR_helpers):
```
yay -S jujutsu-git
```
#### From Source
First make sure that you have the `libssl-dev`, `openssl`, `pkg-config`, and