Install desktop app on Linux
This page describes how to install the Mattermost desktop app on Linux.
- Ubuntu/Debian
- CentOS/RHEL
- Flatpak
- Generic Linux
Both a .deb package (Beta), and an official APT repository is available for Debian 9 and for Ubuntu releases 20.04 LTS or later. Automatic app updates are supported and enabled. When a new version of the desktop app is released, your app updates automatically.
- At the command line, set up the Mattermost repository on your system:
curl -fsS -o- https://deb.packages.mattermost.com/setup-repo.sh | sudo bash
- Install the Mattermost desktop app:
sudo apt install mattermost-desktop
- Update the Mattermost desktop app:
sudo apt upgrade mattermost-desktop
Snapcraft Package
A snap is available for systems that have Snapcraft installed. Snapcraft is installed by default on Ubuntu 16.04 and later, but for most other Linux distributions you can install it manually. To install Snapcraft, see Install snapd on the Snapcraft website for details.
- At the command line, execute the following command:
sudo snap install mattermost-desktop
- Run Mattermost as a desktop app.
Beta .rpm packages are available for CentOS and RHEL 7 and 8. Automatic app updates aren't supported. You must update your app manually.
Install the Mattermost desktop app
- Download the latest version of the Mattermost desktop app for 64-bit systems: mattermost-desktop-6.3.0-linux-x86_64.rpm
- At the command line, execute the following command:
sudo rpm -i mattermost-desktop-6.3.0-linux-x86_64.rpm
- Run Mattermost as a desktop app.
To manually update the desktop app, run the following command:
sudo rpm -u mattermost-desktop-6.3.0-linux-x86_64.rpm
From Mattermost Desktop v6.1, Flatpak packages are available for Linux systems. Flatpak is a universal Linux package format that provides a sandboxed environment and includes runtime dependencies. The Flatpak version is currently in beta.
Available architectures
Flatpak packages are available for:
- x86_64 (Intel/AMD 64-bit processors)
- aarch64 (ARM 64-bit processors)
Install Flatpak
- Ensure Flatpak is installed on your system. If not, see the Flatpak setup guide for your distribution.
- Download the latest Mattermost Desktop Flatpak package for your architecture from the Desktop App's Github releases page:
- For x86_64:
mattermost-desktop-{VERSION}-linux-x86_64.flatpak - For aarch64:
mattermost-desktop-{VERSION}-linux-aarch64.flatpak
- For x86_64:
- Install the Flatpak package:
flatpak install mattermost-desktop-{VERSION}-linux-{ARCH}.flatpakReplace ``{VERSION}`` with the version number (e.g., ``6.3.0``) and ``{ARCH}`` with your architecture (``x86_64`` or ``aarch64``).
- Run Mattermost as a desktop app:
flatpak run com.mattermost.Desktop
Considerations
- The Flatpak version runs in a sandboxed environment, which may affect certain integrations or file access patterns.
- Automatic app updates are handled through the Flatpak update mechanism.
- The application requires access to Flathub or a compatible Flatpak repository for runtime dependencies.
The Desktop app is available in two formats which are usable on most Linux distributions: a compressed tarball, and an AppImage binary. Both can be downloaded from the Desktop App's Github releases page. Automatic app updates are supported and enabled on AppImage binary builds. When a new version of the desktop app is released, your app updates automatically.
For instructions on how to use the AppImage binary, please refer to the AppImage Quickstart documentation page.
Install the Desktop App's compressed tarball
- Download the latest version of the Mattermost desktop app for 64-bit systems: mattermost-desktop-6.3.0-linux-x64.tar.gz
- Extract the archive to a convenient location, then give
chrome-sandboxin the extracted directory the required ownership and permissions:sudo chown root:root chrome-sandbox && sudo chmod 4755 chrome-sandbox - Execute
mattermost-desktoplocated inside the extracted directory. - To create a Desktop launcher, open the file
README.md, and follow the instructions in the Desktop launcher section.