Skip to content

Commit

Permalink
Update arch.md (#1404)
Browse files Browse the repository at this point in the history
Co-authored-by: Antonis Stamatiou <[email protected]>
Co-authored-by: Carrie Warner (Mattermost) <[email protected]>
  • Loading branch information
3 people authored Nov 15, 2024
1 parent 5ea5c54 commit e9053b5
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions site/content/contribute/more-info/desktop/developer-setup/arch.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
**NOTE:** We don't officially support Arch Linux for use with the Mattermost Desktop App. The provided guide is unofficial.

1. Open Terminal
2. Install NodeJS via [nvm](https://github.com/nvm-sh/nvm#installing-and-updating):
1. Open a terminal
2. Install nvm via
1. [nvm-sh](https://github.com/nvm-sh/nvm#installing-and-updating):
```sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
```
OR
2. [AUR](https://aur.archlinux.org/) (possibly using [a helper](https://wiki.archlinux.org/title/AUR_helpers)):
```sh
yay -S nvm
```
4. Install NodeJS via
```sh
nvm install --lts
```
6. Install other dependencies:

```sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
nvm install --lts
```

3. Install other dependencies:

Linux requires the X11 developement libraries and `libpng` to build native Node modules.
Linux requires the X11 development libraries and `libpng` to build native Node modules.
Arch requires `libffi` since it's not installed by default.
```sh
sudo pacman -S install npm git python3 gcc make libx11 libxtst libpng libffi
sudo pacman -S npm git python3 gcc make libx11 libxtst libpng libffi
```
#### Notes
* To build RPMs, you need `rpmbuild`
```sh
sudo pacman -S install rpm
```
sudo pacman -S rpm
```

0 comments on commit e9053b5

Please sign in to comment.