How to Install Slack on CentOS 8

Install Slack on CentOS 8

In this article, we will have explained the necessary steps to install and configure Slack on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Slack is one of the most popular teams communication and collaboration platform in the world. You can create a channel for every conversation, and the channel can be divvied up by team, project, client, or whatever else is relevant to your organization. And team members can join and leave channels as needed. It also can share channels with companies and businesses you regularly work with, like clients, vendors, and partners. This is not open source software and you won’t find the package in the default repository of CentOS.

Install Slack on CentOS 8

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf update

Step 2. Download and Install Slack on CentOS.

Add Slack repository on CentOS system:

nano /etc/yum.repos.d/slack.repo
[slack]
name=slack
baseurl=https://packagecloud.io/slacktechnologies/slack/fedora/21/x86_64
enabled=1
gpgcheck=0
gpgkey=https://packagecloud.io/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

Once the add repo is complete, run the following command as a user with sudo privileges to install the Slack package:

sudo dnf repolist
sudo dnf install slack

Step 3. Start Slack.

Now that Slack has been installed, and you can start it either from the command line by typing slack or by clicking on the Slack icon (Activities → Slack). When a new version is released, you can update the Slack package by running the following command:

sudo dnf update slack

Congratulation, you have learned how to install and configure Slack on CentOS 8. For further reading on Slack, please refer to their official knowledge base. If you have any questions, please leave a comment below.