-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Antonis Stamatiou <[email protected]> Co-authored-by: Carrie Warner (Mattermost) <[email protected]>
- Loading branch information
1 parent
5ea5c54
commit e9053b5
Showing
1 changed file
with
20 additions
and
13 deletions.
There are no files selected for viewing
33 changes: 20 additions & 13 deletions
33
site/content/contribute/more-info/desktop/developer-setup/arch.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |