Back to Mattermost

Arch

docs/develop/contribute/more-info/desktop/developer-setup/arch.md

11.10.0934 B
Original Source

NOTE: We don't officially support Arch Linux for use with the Mattermost Desktop App. The provided guide is unofficial.

  1. Open a terminal

  2. Install nvm via

    1. nvm-sh:
      sh
      curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
      
      OR
    2. AUR (possibly using a helper):
      sh
      yay -S nvm
      
  3. Install NodeJS via

    sh
    nvm install --lts
    
  4. Install other dependencies:

    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 npm git python3 gcc make libx11 libxtst libpng libffi
    

Notes

  • To build RPMs, you need rpmbuild

    sh
    sudo pacman -S rpm