Easy Slack Installation Steps on Rocky Linux 8 from CLI

Posted on

Easy Slack Installation Steps on Rocky Linux 8 from CLI

Easy Slack Installation Steps on Rocky Linux 8 from CLI

This guide is designed to walk you through the Slack Installation Steps on Rocky Linux 8 from CLI. As described on the Slack Official site, Slack is a collaboration platform built to streamline communication, reducing the reliance on email and meetings. It aims to boost productivity, keep you connected with your network, and free up your time for other important tasks. Follow the instructions provided by the Orcacore team to install the latest version of Slack and begin connecting with your friends and colleagues.

Before you begin the Slack Installation Steps on Rocky Linux 8 from CLI, ensure you have access to your server as a non-root user with sudo privileges. If you need assistance with this, refer to our guide on Initial Server Setup with Rocky Linux 8.

Step 1 – Install Required packages for Slack on Rocky Linux 8

First, update your system packages to their latest versions. This ensures you have the necessary dependencies for a smooth installation.

sudo dnf update -y

Next, install the EPEL (Extra Packages for Enterprise Linux) repository. This repository provides additional packages not included in the default Rocky Linux 8 repositories.

sudo dnf -y install epel-release

Step 2 – Download and Install Slack from Linux Command Line

Visit the Slack download page to find the latest RPM package for Linux. Use the wget command to download the package directly to your server.

Important: Always replace the version number in the command below with the latest version available on the Slack download page.

sudo wget https://downloads.slack-edge.com/releases/linux/4.33.73/prod/x64/slack-4.33.73-0.1.el8.x86_64.rpm

Now, install the downloaded Slack RPM package using the dnf localinstall command.

sudo dnf localinstall slack-4.33.73-0.1.el8.x86_64.rpm

Once the installation is complete, verify it by checking the RPM package details.

rpm -qi slack

The output will display information about the installed Slack package, similar to the following:

**Output**
Name        : slack
Version     : 4.33.73
Release     : 0.1.el8
Architecture: x86_64
Install Date: Wed 26 Jul 2023 07:00:30 AM EDT
Group       : Unspecified
Size        : 273754916
License     : MIT
Signature   : RSA/SHA512, Wed 14 Jun 2023 12:46:25 PM EDT, Key ID d1eac4827eb66c16
Source RPM  : slack-4.33.73-0.1.el8.src.rpm
Build Date  : Wed 14 Jun 2023 12:41:12 PM EDT
Build Host  : da179c2ea7bb
Relocations : /usr
URL         : https://github.com/tinyspeck/slack-desktop.git
Summary     : Slack Desktop
Description :
Slack Desktop

Step 3 – How To Launch Slack on Rocky Linux 8?

With Slack successfully installed, you can launch it directly from the command line:

slack

Alternatively, you can launch it from the graphical desktop environment by navigating to the Activities section and clicking the Slack icon.

You will then see the Slack login interface.

Sign in slack
Slack Installation Steps on Rocky Linux 8 from CLI

From this interface, you can either sign in to an existing workspace or create a new one to begin collaborating.

Step 4 – How To Update Slack App?

To update your Slack installation to the latest version when available, use the following command:

sudo dnf update slack -y

Step 5 – How To Uninstall Slack App?

If you no longer need Slack on your system, you can easily remove it with the following command:

sudo dnf remove slack -y

Conclusion

You have now completed the Slack Installation Steps on Rocky Linux 8 from CLI. You have also learned how to launch Slack from both the command line and the desktop environment. We hope you found this guide helpful and that you enjoy using Slack for your collaboration needs.

You may also be interested in these articles:

Install and Configure Ispmanager on AlmaLinux 8

Install Apache Solr on Rocky Linux 9

Alternative Installation Methods for Slack on Rocky Linux 8

While the above method using dnf and the RPM package is a straightforward way to install Slack, alternative methods exist. Here are two different approaches:

1. Using Snap Package Manager

Snap is a package management system developed by Canonical (the company behind Ubuntu). It allows you to install applications in self-contained packages that include all their dependencies. This can be useful for avoiding dependency conflicts or installing newer versions of software than what might be available in the standard Rocky Linux repositories.

  • Explanation: Snap packages are containerized, meaning they include all the necessary libraries and dependencies to run, isolating them from the rest of the system. This makes them very reliable and consistent across different distributions. Snap is not installed by default on Rocky Linux 8, so you need to install it first.

  • Installation Steps:

    First, enable the EPEL repository (if you haven’t already):

    sudo dnf install epel-release

    Next, install Snapd:

    sudo dnf install snapd

    Enable the snapd socket to start the snapd service on boot:

    sudo systemctl enable --now snapd.socket

    Finally, install the Slack snap package:

    sudo snap install slack

    After the installation is complete, you can launch Slack by typing slack in the terminal, or by finding it in your application menu. To uninstall Slack installed via snap, run:

    sudo snap remove slack

2. Using Flatpak Package Manager

Flatpak is another universal package management system that, similar to Snap, aims to simplify application distribution across different Linux distributions.

  • Explanation: Flatpak, like Snap, provides a sandbox environment for applications, ensuring consistency and security. It relies on runtime environments, meaning that commonly used libraries are shared between applications, saving disk space. Flatpak is not installed by default on Rocky Linux 8, you need to install it first.

  • Installation Steps:

    First, install Flatpak:

    sudo dnf install flatpak

    Add the Flathub repository, which is a popular source for Flatpak applications:

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

    Reboot your system, or restart the user session.

    Now, install the Slack Flatpak package:

    flatpak install flathub com.slack.Slack

    After the installation, you can launch Slack with the following command:

    flatpak run com.slack.Slack

    Or find it in your application menu. To uninstall Slack installed via Flatpak, run:

    flatpak uninstall com.slack.Slack

Both Snap and Flatpak offer a sandboxed environment for running applications, improving security and stability. Choosing between them often comes down to personal preference or specific requirements of your system. The Slack Installation Steps on Rocky Linux 8 from CLI can be done through several methods, choose the one that best suits your need. When choosing the method to install the Slack Installation Steps on Rocky Linux 8 from CLI, remember to consider the tradeoffs between stability, convenience and disk space usage. The guide about Slack Installation Steps on Rocky Linux 8 from CLI provided a solid method, but there are other ways to achieve the same goal.

Leave a Reply

Your email address will not be published. Required fields are marked *