Breaking News
Menu
Advertisement

How to Install Slack on Ubuntu: Snap, .deb, and Flatpak Methods Compared

How to Install Slack on Ubuntu: Snap, .deb, and Flatpak Methods Compared

Setting up Slack on Ubuntu requires choosing the right package format to ensure seamless background updates and proper system permissions. While the platform remains a staple for developer communities and remote workplaces, Linux users must navigate three distinct installation paths - Snap,.deb, and Flatpak - each with different containment models and update behaviors.

Before proceeding with the installation, ensure your system meets the basic requirements for the desktop client.

  • Supported OS: Ubuntu 22.04, 24.04, and 26.04 LTS (64-bit only; no official ARM64 build exists).
  • Storage: Between 350 MB (.deb) and 800 MB (Flatpak with runtime).

Installing via the Official Snap Store

The Snap package is officially maintained by Slack and uses classic confinement, granting it full access to your system files just like a native application.

  1. Install the package: Open your terminal and run the Snap command with the classic flag. This ensures Slack has the necessary permissions to function properly.
    sudo snap install slack --classic
  2. Verify the installation: Check the Snap list to confirm the deployment. This guarantees the background update service is tracking the app.
    snap list slack

Deploying the Native.deb Installer

For users who prefer native system integration, the.deb package automatically registers Slack’s official APT repository, allowing future updates to arrive alongside standard system upgrades.

  1. Download the package: Fetch the latest 64-bit installer directly from Slack's servers. This avoids manual browser downloads and places the file in your Downloads folder.
    wget -O ~/Downloads/slack.deb "https://slack.com/downloads/instructions/linux?ddl=1&build=deb"
  2. Install via APT: Execute the installation command. Using APT instead of dpkg automatically resolves any missing dependencies.
    sudo apt install ~/Downloads/slack-desktop-*.deb
  3. Fix broken dependencies: If the system reports unmet requirements, force the resolution. This step stabilizes the local package manager.
    sudo apt --fix-broken install

Setting Up the Community Flatpak

The Flatpak build is community-maintained on Flathub. It runs inside a strict sandbox, making it ideal for users who want to isolate the application from their core system configuration.

  1. Install the Flatpak daemon: Ensure your system can handle Flatpak containers. This prepares Ubuntu to pull from Flathub.
    sudo apt update && sudo apt install flatpak -y
  2. Add the Flathub repository: Register the remote server. This grants access to the community application registry.
    flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
  3. Install Slack: Pull the containerized application. This downloads the app and its required runtime environments.
    flatpak install flathub com.slack.Slack -y
  4. Apply filesystem overrides: Grant the sandbox access to external directories. This is required if you need to upload files from outside your home folder.
    flatpak override --user --filesystem=/path/to/directory com.slack.Slack

Resolving Display and Wayland Issues

Hardware acceleration conflicts can cause Slack to display a blank white screen on launch, particularly on older Intel or NVIDIA GPUs. To bypass this, launch the app from the terminal with the GPU disabled:

slack --disable-gpu

Additionally, screen sharing on Wayland sessions requires the PipeWire media framework. If screen sharing fails on Ubuntu 22.04 or later, ensure the necessary desktop portals are active:

sudo apt install xdg-desktop-portal xdg-desktop-portal-gnome pipewire -y

How to Completely Remove Slack

To cleanly remove the application and its configuration files, execute the commands matching your installation method:

  1. Remove the Snap version: Delete the package and its local configuration directory. This clears the classic confinement footprint.
    sudo snap remove slack
    rm -rf ~/snap/slack
  2. Remove the.deb version: Purge the application, remove the APT repository, and delete user settings. This prevents APT from checking for Slack updates in the future.
    sudo apt remove slack-desktop -y
    sudo apt autoremove --purge -y
    sudo rm /etc/apt/sources.list.d/slack.list
    sudo rm /usr/share/keyrings/slack-archive-keyring.gpg
    rm -rf ~/.config/Slack
  3. Remove the Flatpak version: Uninstall the container and clear the application cache. This frees up the significant disk space used by the runtime.
    flatpak uninstall com.slack.Slack -y
    flatpak uninstall --unused -y
    rm -rf ~/.var/app/com.slack.Slack

The Hidden Cost of Sandboxed Messaging Apps

The fragmentation of Linux packaging formats forces users to make a distinct trade-off between security and usability. While the community-maintained Flatpak offers excellent isolation through strict sandboxing, it fundamentally clashes with how a productivity tool like Slack is meant to be used. Team messaging relies heavily on frictionless drag-and-drop file sharing across various system drives. By restricting filesystem access by default, the Flatpak version introduces unnecessary friction, requiring manual terminal overrides just to attach a document from an external drive.

For most Ubuntu users, the native.deb package remains the superior choice. It not only integrates flawlessly with the system's native notification center and file manager, but it also leverages the standard APT package manager for updates. The official Snap package is a close second due to its classic confinement, but Canonical's push for Snap often results in slower application startup times compared to native binaries. Ultimately, for an application that runs constantly in the background, the lightweight footprint of the.deb installer provides the most reliable daily experience.

Did you like this article?
Advertisement

Popular Searches