Website Vidya
Linux & ServersStep-by-Step Guide

How to Install Slack on Ubuntu 24.04

Comprehensive guide to install Slack on Ubuntu 24.04 LTS using Snap package and official Debian package, with Wayland screen sharing and notifications.

RR
Rajesh RayLead Systems Educator
Published:
6 min read
PDF Cheat Sheet
How to Install Slack on Ubuntu 24.04
AI Executive SummaryWebsiteVidya AI

6 min read

Comprehensive guide to install Slack on Ubuntu 24.04 LTS using Snap package and official Debian package, with Wayland screen sharing and notifications.

Key Highlights
  • Prerequisites and Supported Releases
  • Method 1: Installing Slack via Snap Package (Recommended)
  • Step 2: Verifying the Snap Installation
Grounded in full engineering runbookWebsiteVidya AI Engine

Team collaboration, developer huddles, and distributed engineering workflows rely heavily on centralized communication platforms. When you install slack on ubuntu 24.04, you deploy the native Linux desktop client, giving you direct access to unified workspaces, instant file sharing, integrated third-party webhooks, and real-time audio and video calls.

Ubuntu 24.04 LTS provides two primary deployment paths for Slack: the Canonical Snap Store and the official Slack Debian (.deb) package. The Snap package runs in classic confinement with automated silent background updates, while the Debian package integrates directly with your system's standard APT package manager.

In this tutorial, you will discover how to install Slack using both methods, configure desktop notifications within GNOME 46, enable seamless screen sharing under modern Wayland sessions using PipeWire portal bridges, and manage system resource utilization.

Advertisement

Prerequisites and Supported Releases

This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat) & Ubuntu 22.04 LTS. The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.

Before proceeding, ensure you have the following requirements satisfied:

  • A desktop or laptop running Ubuntu 24.04 LTS (64-bit x86_64 architecture).
  • A user account with active sudo administrative privileges.
  • A stable Internet connection for downloading Slack application packages.
  • Basic familiarity with the GNOME desktop environment and terminal commands.

The fastest and most maintainable way to install Slack on Ubuntu 24.04 LTS is through the official Snap Store. Canonical maintains native Snap integration in Ubuntu 24.04, and Slack officially publishes and supports their Linux Snap package.

Because Slack requires access to local filesystems, audio drivers, and display servers, it installs using the --classic confinement flag. Update your package manager and install Slack via the snap command.

Advertisement
# Refresh package index
sudo apt update

# Install Slack desktop client using classic confinement
sudo snap install slack --classic

Step 2: Verifying the Snap Installation

Once the Snap installation finishes downloading and mounting the application squashfs image, verify that the Slack binary is registered and check its version.

The snap list command displays the active channel, revision number, and publisher verification.

# Verify installed Slack snap package
snap list slack

Method 2: Installing Slack via Official Debian (.deb) Package

If your organization prefers traditional APT packaging or restricts Snap daemons, you can install Slack using the official Debian package provided by Slack Technologies.

Download the latest 64-bit .deb installer directly from Slack's distribution CDN using wget.

Advertisement
# Navigate to temporary directory
cd /tmp

# Download the latest Slack 64-bit deb package
wget https://downloads.slack-edge.com/desktop-releases/linux/x64/4.38.125/slack-desktop-4.38.125-amd64.deb

Step 3: Installing the Downloaded .deb Package via APT

Install the downloaded package using sudo apt install. Using apt instead of raw dpkg -i ensures that all necessary runtime dependencies—such as libappindicator3-1, libsecret-1-0, and shared multimedia libraries—are automatically resolved and installed from Ubuntu repositories.

Clean up the installer archive once installation completes.

# Install Slack package and resolve dependencies
sudo apt install -y ./slack-desktop-4.38.125-amd64.deb

# Remove temporary installer file
rm -f slack-desktop-4.38.125-amd64.deb

Step 4: Launching Slack on Ubuntu 24.04

You can launch Slack using the graphical desktop interface or directly from the terminal command line:

1. Graphical Launcher: Press the Super key (Windows key), type Slack into the search field, and click the Slack application icon.

2. Terminal: Execute slack & to launch the application as a detached background process.

Upon first launch, click Sign In to Slack to authenticate your account via your default web browser.

# Launch Slack from the terminal
slack &

Step 5: Configuring Wayland Screen Sharing and PipeWire

Ubuntu 24.04 LTS runs GNOME on Wayland by default. To share your screen during Slack calls or huddles, Slack relies on WebRTC and the xdg-desktop-portal-gnome PipeWire bridge.

Verify that the necessary desktop portal packages are installed so that Wayland presents the screen selection dialog whenever you start a call.

# Verify desktop portal and PipeWire packages
sudo apt install -y xdg-desktop-portal-gnome pipewire-media-session-

Step 6: Enabling Slack Autostart on System Login

To ensure you never miss incoming messages from teammates, configure Slack to launch automatically whenever you log into your desktop environment.

You can configure this within Slack by navigating to Preferences > Advanced and checking Launch app on login. Alternatively, create a standard desktop autostart entry under ~/.config/autostart/.

# Create user autostart directory if it does not exist
mkdir -p ~/.config/autostart

# Copy Slack desktop launcher to autostart directory
cp /var/lib/snapd/desktop/applications/slack_slack.desktop ~/.config/autostart/ 2>/dev/null || \
cp /usr/share/applications/slack.desktop ~/.config/autostart/

Step 7: Updating and Maintaining Slack

Maintenance depends on the installation method you chose:

• Snap Installations: The snapd background daemon automatically checks for, downloads, and applies Slack updates several times daily without manual intervention.

• APT Installations: Check for and apply updates alongside your standard system maintenance commands.

# For Snap installations (manual refresh check)
sudo snap refresh slack

# For APT installations (standard upgrade check)
sudo apt update && sudo apt --only-upgrade install slack-desktop

Step 8: Uninstalling Slack from Ubuntu 24.04

If you need to remove Slack from your system, execute the removal command corresponding to your original installation method.

You can also remove local user profile data and cache files stored in your home directory.

# To remove Snap installation
sudo snap remove --purge slack

# To remove Debian package installation
sudo apt purge -y slack-desktop
sudo apt autoremove -y

# Optionally remove user cache and workspace configurations
rm -rf ~/.config/Slack ~/.cache/Slack

Troubleshooting and Common Errors

When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:

Screen sharing shows a blank black window during huddles on Wayland

Resolution: Ensure xdg-desktop-portal-gnome is installed: sudo apt install -y xdg-desktop-portal xdg-desktop-portal-gnome. If issues persist, launch Slack with Ozone platform flags: slack --enable-features=UseOzonePlatform --ozone-platform=wayland.

Slack window is completely blank or crashes on launch with GPU error

Resolution: Launch Slack disabling hardware acceleration from the terminal: slack --disable-gpu. If this resolves the crash, update your proprietary GPU graphics drivers or reset your GPU cache in ~/.config/Slack/GPUCache.

Resolution: Ensure your desktop has a default browser configured via xdg-settings get default-web-browser. If automatic redirection fails, copy the manual token URL provided on the browser sign-in page and paste it into Slack.

Security Best Practices and Hardening

Snap confinement isolates Slack dependencies and applies mandatory access controls to protect local system directories.

Review authorized third-party Slack apps and integrations periodically within your workspace administration console to minimize API token exposure.

Keep the desktop client updated to ensure security patches addressing Chromium/Electron embedded browser CVEs are applied promptly.

Never store unencrypted production API secrets, private SSH keys, or server credentials in plain text inside public Slack communication channels.

Deepen your Linux system administration skills with our related production-tested guides:

Authoritative References and Official Documentation

Frequently Asked Questions

Quick answers to common questions and configurations

3 FAQs
Yes. Slack for Linux provides access to channels, direct messages, voice/video huddles, canvas documents, and application integrations.
Click the + icon on the far left workspace sidebar in Slack or press Ctrl+Shift+S to sign in to another company workspace.
Yes. In Slack preferences under Advanced, check Leave app running in notification area when the window is closed.
RR
Written byVerified Author

Rajesh Ray

I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.

SPAM-FREE MODERATED DISCOURSE

Join the Conversation & Perspective

Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.

AT
MP
JV
+2

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout