How to install Slack on Oracle Linux 9.2

To Install Slack On Oracle Linux 9.2

Introduction:

Slack is an international collaboration platform popular for bringing all your communication together. Slack allows you to organize conversations into channels for teams, projects, topics, or any other purpose you desire.

Procedure:

Step 1: Check the OS Version by using the below command

[root@linuxhelp ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.2"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.2"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:2:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.2
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.2

Step 2: Extra Packages for Enterprise Linux (EPEL) repository. The EPEL repository can be added to your system using the below command

[root@linuxhelp ~]# yum install epel-release
Oracle Linux 9 BaseOS Latest (x86_64)            27 kB/s | 3.6 kB     00:00    
Oracle Linux 9 BaseOS Latest (x86_64)            18 MB/s |  16 MB     00:00    
Oracle Linux 9 Application Stream Packages (x86  34 kB/s | 3.9 kB     00:00    
Oracle Linux 9 Application Stream Packages (x86  22 MB/s |  23 MB     00:01    
Oracle Linux 9 UEK Release 7 (x86_64)                                                                                                                                                                         33 kB/s | 3.0 kB     00:00    
Oracle Linux 9 UEK Release 7 (x86_64)                                                                                                                                                                         22 MB/s |  23 MB     00:01    
Last metadata expiration check: 0:00:03 ago on Thursday 02 November 2023 02:08:57 AM.
Dependencies resolved.
=============================================================================================================================================================================================================================================
 Package                                                         Architecture                                   Version                                                      Repository                                                 Size
=============================================================================================================================================================================================================================================
Installing:
 oracle-epel-release-el9                                         x86_64                                         1.0-1.el9                                                    ol9_baseos_latest                                          14 k
Installing dependencies:
 yum-utils                                                       noarch                                         4.3.0-5.0.2.el9_2                                            ol9_baseos_latest                                          53 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install  2 Packages

Total download size: 67 k
Installed size: 41 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): oracle-epel-release-el9-1.0-1.el9.x86_64.rpm                                                                                                                                                           91 kB/s |  14 kB     00:00    
(2/2): yum-utils-4.3.0-5.0.2.el9_2.noarch.rpm                                                                                                                                                                345 kB/s |  53 kB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                        423 kB/s |  67 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                     1/1
  Installing       : yum-utils-4.3.0-5.0.2.el9_2.noarch                                                                                                                                                                                  1/2
  Installing       : oracle-epel-release-el9-1.0-1.el9.x86_64                                                                                                                                                                            2/2
  Running scriptlet: oracle-epel-release-el9-1.0-1.el9.x86_64                                                                                                                                                                            2/2
  Verifying        : oracle-epel-release-el9-1.0-1.el9.x86_64                                                                                                                                                                            1/2
  Verifying        : yum-utils-4.3.0-5.0.2.el9_2.noarch                                                                                                                                                                                  2/2

Installed:
  oracle-epel-release-el9-1.0-1.el9.x86_64                                                                                 yum-utils-4.3.0-5.0.2.el9_2.noarch                                                                                
Complete!

Step 3: Once it is done, we need to install snapd package so that we can download and install slack using the snap store.

[root@linuxhelp ~]# yum install snapd
Oracle Linux 9 EPEL Packages for Development (x86_64)                                                                                                                                                         25 MB/s |  45 MB     00:01    
Last metadata expiration check: 0:00:16 ago on Thursday 02 November 2023 02:09:43 AM.
Dependencies resolved.
=============================================================================================================================================================================================================================================
 Package                                                   Architecture                                       Version                                                   Repository                                                      Size
=============================================================================================================================================================================================================================================
Installing:
 snapd                                                     x86_64                                             2.58.3-1.el9                                              ol9_developer_EPEL                                              15 M
Installing dependencies:
 snap-confine                                              x86_64                                             2.58.3-1.el9                                              ol9_developer_EPEL                                             2.5 M
 snapd-selinux                                             noarch                                             2.58.3-1.el9                                              ol9_developer_EPEL                                             196 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install  3 Packages

Total download size: 17 M
Installed size: 58 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): snapd-selinux-2.58.3-1.el9.noarch.rpm                                                                                                                                                                 935 kB/s | 196 kB     00:00    
(2/3): snap-confine-2.58.3-1.el9.x86_64.rpm                                                                                                                                                                  5.9 MB/s | 2.5 MB     00:00    
(3/3): snapd-2.58.3-1.el9.x86_64.rpm                                                                                                                                                                          18 MB/s |  15 MB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                         21 MB/s |  17 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                     1/1
  Running scriptlet: snapd-selinux-2.58.3-1.el9.noarch                                                                                                                                                                                   1/3
  Installing       : snapd-selinux-2.58.3-1.el9.noarch                                                                                                                                                                                   1/3
  Running scriptlet: snapd-selinux-2.58.3-1.el9.noarch                                                                                                                                                                                   1/3
  Installing       : snap-confine-2.58.3-1.el9.x86_64                                                                                                                                                                                    2/3
  Installing       : snapd-2.58.3-1.el9.x86_64                                                                                                                                                                                           3/3
  Running scriptlet: snapd-2.58.3-1.el9.x86_64                                                                                                                                                                                           3/3
  Running scriptlet: snapd-selinux-2.58.3-1.el9.noarch                                                                                                                                                                                   3/3
  Running scriptlet: snapd-2.58.3-1.el9.x86_64                                                                                                                                                                                           3/3
  Verifying        : snap-confine-2.58.3-1.el9.x86_64                                                                                                                                                                                    1/3
  Verifying        : snapd-2.58.3-1.el9.x86_64                                                                                                                                                                                           2/3
  Verifying        : snapd-selinux-2.58.3-1.el9.noarch                                                                                                                                                                                   3/3
Installed:
  snap-confine-2.58.3-1.el9.x86_64                                                snapd-2.58.3-1.el9.x86_64                                                snapd-selinux-2.58.3-1.el9.noarch                                               
Complete!

Step 4: Once installed, the systemd unit that manages the main snap communication socket needs to be enabled and Check the Status by using the below command.

[root@linuxhelp ~]# systemctl enable --now snapd.socket
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /usr/lib/systemd/system/snapd.socket. [root@linuxhelp ~]# systemctl status snapd.socket

[root@linuxhelp ~]# systemctl status snapd.socket
● snapd.socket - Socket activation for snappy daemon
     Loaded: loaded (/usr/lib/systemd/system/snapd.socket; enabled; preset: disabled)
     Active: active (listening) since Thu 2023-11-02 02:11:18 IST; 7s ago
      Until: Thu 2023-11-02 02:11:18 IST; 7s ago
   Triggers: ● snapd.service
     Listen: /run/snapd.socket (Stream)
             /run/snapd-snap.socket (Stream)
      Tasks: 0 (limit: 21644)
     Memory: 0B
        CPU: 1ms
     CGroup: /system.slice/snapd.socket
Nov 02 02:11:18 linuxhelp systemd[1]: Starting Socket activation for snappy daemon...
Nov 02 02:11:18 linuxhelp systemd[1]: Listening on Socket activation for snappy daemon.

Step 5: Restart your system, to ensure snap’s paths are updated correctly.

Step 6: To install Slack, simply use the below command

[root@linuxhelp ~]# snap install slack
2023-11-02T02:14:28+05:30 INFO Waiting for automatic snapd restart...
Warning: /var/lib/snapd/snap/bin was not found in your $PATH. If you've not restarted your session
         since you installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469
         for more details.
slack 4.34.121 from Slack✓ installed

Step 7: To Run the Slack application use the below command.

[root@linuxhelp ~]#  slack

Step 8: Select Create a new Workspace as shown in the below image

Step 9: Enter mail ID and Enter the Code as shown in the below image

Step 10: Set up all the details about your profile like team name, company name etc., as shown in the below image.

Step 11: Now the slack application is launched and you can start working.

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Slack on Oracle Linux 9.2. Your feedback is much welcome.

FAQ
Q
What is the advantage of Slack?
A
It helps teams operate faster and stay in sync, wherever they are.
Q
Can you assign roles in Slack?
A
You can assign system roles to individual members or IDP groups, and even assign members to more than one system role.
Q
Can you delete a Slack message?
A
Hover over the message you'd like to delete. Click the three-dot icon. Click Delete message. Select Delete to confirm.
Q
What is the maximum number of workspaces you can have in Slack?
A
In Slack Connect you get access to 20 different organizations within shared channels.
Q
Does Slack track your activity?
A
slack.com/stats shows how many messages have been sent on a workspace and the most popular public channels.