While binaries for Slack have been available for Ubuntu and Fedora, other Linux operating systems are not so lucky. To overcome this, Canonical has released Slack as a Snap, which allows Slack to be installed and used on a greater variety of Linux distributions.

Snapcraft is a command line tool that allows you to install containerised applications called Snaps on many different Linux distribution. As these Snap containers contain all the required dependencies that a program needs to run, it makes it very easy to create and distribute a single container that works on a variety of Linux versions.

The creation of a Slack Snap is smart move by both the Slack team and Canonical. For Canonical, it provides a greater user base for their Snapcraft service and for Slack, it allows a larger audience to use their service and make upgrading to new Slack versions much easier.  According to Jamie Bennett, VP of Engineering, Devices & IoT at Canonical:

Slack is helping to transform the modern workplace, and we’re thrilled to welcome them to the snaps ecosystem Today’s announcement is yet another example of putting the Linux user first – Slack’s developers will now be able to push out the latest features straight to the user. By prioritising usability, and with the popularity of open source continuing to grow, the number of snaps is only set to rise in 2018.

How to install Slack as a Snap

Now that we know that Slack is available as a Snap, the next thing we need to do is install it. Installing Snapcraft, the program required to install and run Snaps, is really easy and supported on the Arch Linux, Debian, Fedora, Gentoo, Linux Mint, Manjaro, OpenEmbedded/Yocto, openSUSE, OpenWrt, Solus, & Ubuntu distributions.

Simply go to this page and follow the instructions on how to install the Snapcraft snapd service for your Linux distribution.  For example, on Ubuntu you can install Snapcraft simply by using these commands from a terminal:

sudo apt update
sudo apt install snapd

Once snapd is installed, you can then install Slack using these commands:

sudo snap find slack
sudo snap install slack --classic

Once slack is installed, you can launch your desktop and execute the slack command from a terminal.

Slack will then start and you can use it as normal.