Categories: Ubuntu

Install and Use Slack on Ubuntu 22.04

Slack is a real-time communication application that allows you to connect to your team. If you wish to collaborate development teams with corporations to conduct group meetings, then this app is the perfect choice for you. This app has many features, such as a channel system that lets the teams discuss topics and issues within a particular channel through audio and video chat or through exchanging important files, etc.

For the purpose of installing Slack on Ubuntu 22.04, there are various methods available, and each of these methods has been discussed in this blog.

Install and Use Slack on Ubuntu 22.04

Sponsored

Before you jump toward installing Slack using any of the methods mentioned below, it is highly recommended that you update your system. For this purpose, press “CTRL+ALT+T” to open up the terminal and utilize the below-given command:

$ sudo apt update && sudo apt upgrade

Press “Y” to continue:

Within a few minutes, all of the system packages will get updated.

Method 1: Using Flatpak to install Slack on Ubuntu 22.04

The first method that we are going to discuss is the installation of Slack using the Flatpak package manager. The major advantage of utilizing this method is that you will always have the Slack latest version.

Step 1: Install Flatpak
Flatpak is not present on Ubuntu 22.04 by default; therefore, you have to install it using this command:

$ sudo apt install flatpak -y

Step 2: System Reboot
Once installed, use this command to reboot your system:

$ reboot

You can skip the above steps if you have already installed Flatpak on your system.

Step 3: Enable Flatpak
After the system reboots, write out the below command for the purpose of enabling the Flatpak package manager:

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

Step 4: Install Slack
When enabled you can now use it to install Slack on your system:

$ flatpak install flathub com.slack.Slack -y

Output

As you can see, the Slack application has been successfully installed using Flatpak.

How to uninstall Slack using Flatpak

For the purpose of uninstalling Slack using Flatpak, follow the provided procedure.

Step 1: Remove Slack
Utilize the following command to uninstall Slack from your Ubuntu 22.04:

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

Now, move to the next instruction.

Step 2: Remove Leftovers
Now make sure there are no leftovers by running this command:

$ flatpak remove –unused

Output

Sponsored

Slack was removed from the system.

Method 2: Using Snap to install Slack on Ubuntu 22.04

The next method that we will discuss is installing Slack using the Snap package.

Step 1: Install Snap
If you have not installed Snap previously, then execute the provided command:

$ sudo snap install snapd

Output

The Snap package is already present on our system.

Step 2: Install Snap Core
Now, to avoid any kind of conflicts, install snap core:

$ sudo snap install core

Output

Snap core has been already installed.

Step 3: Install Slack
And now run the following command on the terminal to install Slack using Snap:

$ sudo snap install slack

Output

How to uninstall Slack using Snap

If you have installed Slack using Snap, then simply run this command to uninstall it from the system:

$ sudo snap remove slack

Output

The app has been removed.

How to use Slack on Ubuntu 22.04

In order to use Slack, launch it on your Ubuntu 22.04 system by utilizing any of the below-given commands:

$ slack

OR:

$ slack &

Or if you have installed slack using Flatpak, then use this command.

$ flatpak run com.slack.Slack

Output

Sign up/in and start using the app.

Conclusion

You can install Slack on Ubuntu 22.04 using either the Flatpak package manager or the Snap package. Whichever way you may be using, just make sure that you have the packages installed on your system. Once installed and enabled, you can use them to install Slack on your system. Furthermore, you can also use any one of the methods to uninstall Slack. This blog demonstrated the method to install and use Slack on Ubuntu 22.04.

Ubuntu Server Admin

Recent Posts

Top 11 Linux Log Monitoring Tools for System Administrators

In Linux environments, system administrators need to continuously monitor log files to evaluate system health,…

6 hours ago

Accelerating AI with open source machine learning infrastructure

The landscape of artificial intelligence is rapidly evolving, demanding robust and scalable infrastructure. To meet…

13 hours ago

Hardening automation for CIS benchmarks now available for Ubuntu 24.04 LTS

We’re pleased to release Ubuntu Security Guide profiles for CIS benchmarks. These profiles will allow…

13 hours ago

Detecting and Fixing Memory Leaks with Valgrind

Memory leaks are among the most frustrating bugs to track down in C and C++…

1 day ago

How to Kill Processes Using Specific Ports on Linux, Windows and MacOS

Have you ever encountered issues starting a server or application because the required port is…

1 day ago

How to Fix the “Native Host Connector Not Detected” Error for GNOME Extensions in Ubuntu 22.04

When upgrading to Ubuntu 22.04 LTS (Jammy Jellyfish), many users encounter the error message: “Although…

1 day ago