How to install Mattermost Desktop app on Ubuntu

Endrit Qerreti

Endrit Qerreti

Mattermost a slack alternative, is an open source chat collaboration tool that allows you to work in a environment that you have full control over.

Mattermost will boost your productivity, and most importantly it will also help you collaborating with your coworkers easily with no hassle.

You can also host Mattermost on your server, as Mattermost allows developers self-host mattermost on their server, which means you can create a server and install Mattermost on it.

On Mattermost you can make calls, send messages, share files, manage projects and a lot more.

In this tutorial, you will learn how to install Mattermost Desktop App on Ubuntu 22.04.

Step 1 - Update Ubuntu

Before installing Mattermost, run the command below on your terminal to update your Ubuntu machine.

sudo apt-get update

Step 2 - Add Mattermost Repository

Once you have updated your Ubuntu machine, now you need to add mattermost repository on your system, in order to be able to install Mattermost on your machine.

Mattermost provides a shell script that you can run on your machine and add mattermost repository on your system.

This is done easily by downloading the shell script and executing it.

Download the shell script by simply running the command below

curl -o https://deb.packages.mattermost.com/setup-repo.sh

Next, make Mattermost's setup shell file that you downloaded executable

chmod +x setup-repo.sh

Once you give execute permission to setup-repo.sh, all you have to do now is to run this file to complete adding Mattermost repository on your system

sudo ./setup-repo.sh

Step 3 - Install Mattermost Desktop

Now, to install Mattermost on your Ubuntu machine, simply run the command below

sudo apt install mattermost-desktop

Uninstall Mattermost

In this tutorial we installed Mattermost via apt package manager, so you can use the same package manager to uninstall it also.

To uninstall Mattermost, run the command below

sudo apt purge mattermost-desktop

Conclusion

In this tutorial, you learned how to install Mattermost Desktop application on Ubuntu.