How to Install Slack on Ubuntu 20.04 LTS

Slack is an app that lets you communicate with your team in real-time. It’s the perfect solution for development teams and corporations who want to integrate many services, run groups meetings, etc., using Slack’s channels system, which allows users (teams) to create their topics or discuss customer issues cohesively within one channel while also featuring voice & video calls as well file-sharing capabilities or just about anything else!

In the following tutorial, you will learn how to install Slack on Ubuntu 20.04 LTS Focal Fossa using two different installation methods, Flatpak and Snap, and how to update, maintain or remove using both package managers.

Update Ubuntu

The first step is ensuring your system is up-to-date to avoid issues during the installation and for good practice. This is done by opening your terminal and using the following command.

sudo apt update && sudo apt upgrade -y

Install Slack – Flatpak Method

The first option is to use the Flatpak package manager, which is not installed on Ubuntu distributions, given that Snap, Flatpak’s rival, is owned by Canonical and Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.

The extra benefit of using Flatpak installations is that you will always have the most up-to-date version compared to Ubuntu which focuses on stability with older versions that only see updates for security issues or serve bugs.

First, install the Flatpak manager; this can be skipped if you already have it installed.

sudo apt install flatpak -y

For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues, such as paths not being generated for icons.

reboot

SKIP THE REBOOT IF FLATPAK IS INSTALLED.

Next, you need to enable Flatpack using the following command in your terminal:

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

Now install Slack using the following flatpak command.

flatpak install flathub com.slack.Slack -y

Install Slack – Snap Method

The second method will be installing the Slack software with a snap. The Snapcraft package manager should be installed on Ubuntu-installed systems unless removed previously.

First, re-install Snapd if you have removed it previously.

sudo snap install snapd -y

Ideally, it is worth rebooting when installing third-party managers; if you experience issues, please do this.

Next, install the snap core to avoid any conflicts.

sudo snap install core

Now install the Slack snap package with the following command.

sudo snap install slack --classic

How to Launch Slack

Now that you have the application installed, launching can be done in a few ways.

First, Snapcraft installations can run Slack immediately from the terminal using the following command.

sudo snap run slack

Alternatively, Flatpak users will need to launch using the command below from a terminal instance:

flatpak run com.slack.Slack

However, this isn’t practical, and you would use the following path on your desktop.

Activities > Show Applications > Slack.

Example:

How to Install Slack on Ubuntu 20.04 LTS

With the main screen open, you can sign in to your account, workspace, or new users.

Example:

How to Install Slack on Ubuntu 20.04 LTS

How to Update Slack

Depending on the method of installation used, the following commands can be used to update.

Flatpak Update Method

flatpak update

Snap Update Method

sudo snap update

How to Remove (Uninstall) Slack

Use one of the following commands to suit the original installation method for users who no longer require the application.

Flatpak Remove Method

flatpak uninstall --delete-data flathub com.slack.Slack

Next, run the following command for any leftover clean-up.

flatpak remove --unused

Snap Remove Method

sudo snap remove slack

Comments and Conclusion

Slack is growing in popularity for good reasons. It offers a fantastic platform for communicating with people and teams, sharing files, and having video or voice calls without leaving the app.

Slack integrates many different services, making it a one-stop shop for communication and collaboration. You can use Slack on your computer or phone, making it easy to stay connected no matter where you are. If you’re looking for an easy way to communicate with a team or group of people, Slack is a great option that will continue to grow in popularity.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!