Slack is a popular messaging and collaboration platform that is widely used by businesses and teams to communicate and work together. If you're an Ubuntu user and looking to install Slack on your system, you'll be happy to know that the process is quite simple and straightforward. In this guide, we'll walk you through the steps to install Slack on Ubuntu using different methods, including using the Ubuntu Software Center, using the Snap package manager, and installing from the command line. Whether you're a Linux beginner or an experienced user, you'll find the steps easy to follow, and you'll be able to install Slack on your Ubuntu system in no time.
Different methods to install Slack on Ubuntu
There are 2 different methods to install Slack on Ubuntu. It can be installed on the system by downloading the .deb package shared on Slack's official page. Or it can be installed through the Snap Store. It can be installed from both the terminal interface and Ubuntu Software with Snap Store.
Method-1: Install From Slack .deb
Package
The .deb package shared on the Slack official page is downloaded with the wget
command:
$ wget https://downloads.slack-edge.com/releases/linux/4.29.149/prod/x64/slack-desktop-4.29.149-amd64.deb
--2023-03-21 21:20:51-- https://downloads.slack-edge.com/releases/linux/4.29.149/prod/x64/slack-desktop-4.29.149-amd64.deb
Resolving downloads.slack-edge.com (downloads.slack-edge.com)... 52.85.5.87, 52.85.5.115, 52.85.5.117, ...
Connecting to downloads.slack-edge.com (downloads.slack-edge.com)|52.85.5.87|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 72943850 (70M) [application/octet-stream]
Saving to: ‘slack-desktop-4.29.149-amd64.deb’
slack-desktop-4.2 100%[=============>] 69,56M 2,59MB/s in 25s
2023-03-21 21:21:16 (2,80 MB/s) - ‘slack-desktop-4.29.149-amd64.deb’ saved [72943850/72943850]
Then, with the following command, the Slack application is installed with its dependencies:
$ sudo apt install ./slack-desktop-4.29.149-amd64.deb -y
or
$ sudo dpkg -i slack-desktop-4.29.149-amd64.deb
The installation will be finished in a short time. The version of the installed Slack application:
$ dpkg -l | grep slack
ii slack-desktop 4.29.149 amd64 Slack Desktop
After installation, access the application by typing slack from activities.
If you have a slack account, you can log in with a method on the screen.
You can now access the Slack desktop application via Ubuntu.
Method-2: Install From Snap Store
First of all, you can install with the GUI via Ubuntu Software.
In this way, versions 4.29.149 and 4.25.1 can be installed.
If you want to install Slack from Snap Store with terminal, first install the snapd package:
$ sudo apt install snapd -y
Then install Slack with snap:
$ sudo snap install slack
slack 4.29.149 from Slack✓ installed
With this method, Slack was successfully installed.
Update Slack Version
With the Slack installation, the file "/etc/apt/sources.list.d/slack.list" is created. As long as this repository remains in the system, Slack is updated with the following steps:
sudo apt update -y sudo apt upgrade slack-desktop -y
If you have installed with Snap, you can get the update with the following command:
$ sudo snap refresh slack
snap "slack" has no updates available
Remove Slack
If you have installed the .deb package and the repository, you can remove the Snap package with the following command:
$ sudo apt remove slack-desktop -y
If you need to uninstall a Slack installed with Snap:
$ sudo snap remove slack
Summary
In summary, there are two main methods to install Slack on Ubuntu, which are using the Slack .deb package and installing it from the Snap Store. You can install the Slack .deb package by downloading it from the Slack website and installing it via the software center or the command line. The second method is to install Slack using the Snap package manager, which provides an easy and automated way to install, update, and remove applications on Ubuntu. Once you have installed Slack, you can easily update it using the software center or the command line, and remove it if you no longer need it. By following these steps, you can easily install and manage Slack on your Ubuntu system.
References
snapcraft.io - Install Slack on Ubuntu
slack.com - Download Slack for Linux (beta)