How to Install Slack on CentOS 7

Posted 

2 min read

Slack is one of the most popular collaboration platforms in the world that brings all your communication together. Conversations in Slack are organized in channels. You can create channels for your teams, projects, topics, or any other purpose to keep information and conversations organized. You can search through everything that’s been posted in channels or your messages. Slack also allows you to talk with your teammates over audio or video calls and share documents, images, videos, and other files.

Slack is not an open source application and it is not included in the CentOS repositories.

This tutorial will guide you on how to install Slack on CentOS 7.

Prerequisites

The following commands assume you are logged in as a user with sudo privileges.

Installing Slack on CentOS

Complete the following steps to install Slack on CentOS 7.

1. Download Slack

Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.

Visit the Slack for Linux download page and download the latest Slack .RPM (64-BIT) file. If you prefer the command line use the following wget command to download the file:

wget https://downloads.slack-edge.com/linux_releases/slack-4.0.2-0.1.fc21.x86_64.rpm

2. Install Slack

Once the download is complete, install the Slack rpm package by running the following command:

sudo yum localinstall ./slack-*.rpm

3. Start Slack

Now that Slack has been installed on your CentOS desktop, you can start it either from the command line by typing slack or by clicking on the Slack icon (Activities → Slack).

When you start Slack for the first time, a window like the following is displayed:

From here you can sign in to a workspace you are already a member of, or create a new workspace and start collaborating with your friends and fellow developers.

Updating Slack

During the installation process, the official Slack repository will be added to your system. Use the cat command to verify the file contents:

cat /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

This ensures that your Slack installation will be updated automatically when a new version is released through your desktop standard Software Update tool.

Conclusion

In this tutorial, you’ve learned how to install Slack on your CentOS 7 desktop. For more information about how to use Slack visit the Slack documentation page.

Feel free to leave a comment below.