Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu 22.04 - Install Mattermost Desktop Client

Steps

Pick one of the methods below to install the desktop client:

Method 1 - Flatpak

Install flatpak if you havent already:

sudo apt update && sudo apt install flatpak

Add the flathub repository:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Finally, we can now install the Mattermost desktop client flatpak from the Flathub repository

flatpak install flathub com.mattermost.Desktop -y

Now you can launch the desktop client with:

flatpak run com.mattermost.Desktop

Debian Package (Not Recommended)

If you want to install through the debian package, you can run:

VERSION="5.5.1";
mkdir /tmp/install-mattermost && cd /tmp/install-mattermost \
  && wget https://releases.mattermost.com/desktop/$VERSION/mattermost-desktop_$VERSION-1_amd64.deb \
  && sudo dpkg -i mattermost-desktop*.deb

... however, when I got to the point of installation, it wanted to install gconf2, which is used by the GNOME desktop environment, and because I'm running XFCE, I decided to bail at this point.

You may wish to check the releases page on Github for the latest version.

Snaps

I don't support snaps and use it as a last resort. You can find instructions for this elsewhere.

References

Last updated: 1st November 2023
First published: 2nd November 2023