How to Install Slack on Ubuntu

Slack combines team chat, voice calls, video meetings, and file sharing into a unified workspace. Whether you coordinate software development, manage customer support channels, or run daily standups, Slack organizes conversations into channels and threads that keep context intact.

This guide covers four ways to install Slack on Ubuntu: extrepo for simplified repository management, the manual APT repository for direct control, Flatpak for sandboxed isolation, and Snap for convenience. By the end, you will have Slack running with automatic updates and complete removal procedures.

Choose Your Slack Installation Method

Slack offers four installation paths on Ubuntu, each with different configuration complexity and isolation levels. Before proceeding, review the comparison table to choose the method that best fits your workflow and system preferences.

MethodChannelVersionUpdatesBest For
extrepo (Recommended)Packagecloud via extrepoLatest stableAutomatic via APTMost users; quick setup with minimal configuration
Manual APT RepositoryPackagecloud directLatest stableAutomatic via APTScripted deployments or learning APT internals
FlatpakFlathubLatest stableAutomatic via FlatpakSandboxed isolation, cross-distro compatibility
SnapSnapcraftLatest stableAutomatic via SnapPre-installed package manager, simple commands

For most users, the extrepo method is recommended because it handles GPG key management automatically and requires fewer commands. The manual APT method provides more control for scripted deployments or when you need to understand the underlying repository configuration. Flatpak offers sandboxed isolation at the cost of slightly higher disk usage, while Snap provides the simplest installation since it is pre-installed on Ubuntu.

The Slack repository uses a universal package format that works on all current Ubuntu releases, including LTS versions. Commands shown in this guide work identically regardless of your specific Ubuntu version.

Slack publishes desktop builds for 64-bit (amd64/x86_64) Ubuntu systems only. Raspberry Pi, ARM servers, and 32-bit hardware lack native packages. Use Slack’s web interface on unsupported architectures.

Method 1: Install Slack via extrepo (Recommended)

The extrepo tool simplifies adding external repositories by handling GPG key downloads and repository configuration automatically. This approach requires fewer commands than manual repository setup and reduces the chance of configuration errors.

Install extrepo on Ubuntu

First, update your package lists and install the extrepo package if it is not already present on your system:

sudo apt update
sudo apt install extrepo

Enable Non-Free Policy for Slack

Slack uses a proprietary license, so you must enable the non-free policy in extrepo’s configuration before enabling the repository. Run the following command to uncomment the non-free policy line:

sudo sed -i 's/# - non-free/- non-free/' /etc/extrepo/config.yaml

This configuration change allows extrepo to enable repositories that host proprietary software. Alternatively, you can edit /etc/extrepo/config.yaml manually and add - non-free under the enabled_policies section.

Enable Slack Repository with extrepo

With the non-free policy enabled, add the Slack repository using a single command:

sudo extrepo enable slack

As a result, this command downloads the GPG key to /var/lib/extrepo/keys/ and creates the repository configuration at /etc/apt/sources.list.d/extrepo_slack.sources.

Install Slack from extrepo Repository

Next, update your package lists and install Slack:

sudo apt update
sudo apt install slack-desktop

Once the installation completes, verify the repository was configured correctly by checking the package source:

apt-cache policy slack-desktop

Expected output:

slack-desktop:
  Installed: 4.x.x
  Candidate: 4.x.x
  Version table:
 *** 4.x.x 500
        500 https://packagecloud.io/slacktechnologies/slack/debian jessie/main amd64 Packages
        100 /var/lib/dpkg/status

The version numbers shown are placeholders. Your output will display the actual installed version. The jessie suite name is expected even on current Ubuntu releases because Slack uses a universal repository.

Method 2: Install Slack via Manual APT Repository

Alternatively, the manual APT repository method provides native package integration and automatic updates through your standard system upgrade workflow. This approach uses the modern DEB822 repository format with scoped GPG key verification, giving you direct control over the repository configuration.

Configure Slack APT Repository on Ubuntu

First, remove any legacy repository files to avoid duplicate entry warnings, then configure the repository using DEB822 format. The Packagecloud suite name remains jessie for Slack, which is expected even on current Ubuntu releases:

sudo rm -f /etc/apt/sources.list.d/slack.list
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://packagecloud.io/slacktechnologies/slack/gpgkey | gpg --dearmor | sudo tee /etc/apt/keyrings/slacktechnologies_slack-archive-keyring.gpg > /dev/null
sudo tee /etc/apt/sources.list.d/slack.sources > /dev/null <<'EOF'
Types: deb
URIs: https://packagecloud.io/slacktechnologies/slack/debian/
Suites: jessie
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/slacktechnologies_slack-archive-keyring.gpg
EOF

Verify Repository Configuration

After adding the repository, refresh your package lists and verify APT recognizes the new source:

sudo apt update
apt-cache policy slack-desktop

Expected output confirming the repository is active:

slack-desktop:
  Installed: (none)
  Candidate: 4.x.x
  Version table:
     4.x.x 500
        500 https://packagecloud.io/slacktechnologies/slack/debian jessie/main amd64 Packages

Install Slack from APT Repository on Ubuntu

After confirming the repository is active, install Slack directly:

sudo apt install slack-desktop

As a result, the slack.sources file points to Slack’s Packagecloud repository, so updates arrive automatically through your regular apt upgrade workflow. This approach eliminates manual version tracking entirely.

Method 3: Install Slack via Flatpak and Flathub

Flatpak provides sandboxed isolation and automatic updates through Flathub. This method runs Slack in a contained environment, isolating it from system libraries for better security. Before proceeding, verify Flatpak is available on your system.

Flatpak is not pre-installed on Ubuntu. If you have not set it up yet, install it with sudo apt install flatpak and restart your session before continuing. For detailed setup including the Flathub repository, follow our Flatpak installation guide for Ubuntu.

Add Flathub Repository on Ubuntu

First, add the Flathub repository to access Slack and thousands of other applications:

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

The --if-not-exists flag safely skips this step if you have already added Flathub previously.

Install Slack via Flatpak on Ubuntu

Next, install Slack from Flathub using the system-wide installation scope:

sudo flatpak install -y flathub com.slack.Slack

As a result, this command installs Slack system-wide with the -y flag to skip confirmation prompts. Flatpak runs Slack in a sandboxed environment, isolating it from the rest of your system for improved security.

Verify the installation by checking the application info:

flatpak info com.slack.Slack

Expected output:

Slack - Business communication

          ID: com.slack.Slack
         Ref: app/com.slack.Slack/x86_64/stable
        Arch: x86_64
      Branch: stable
      Origin: flathub
     Version: 4.x.x

Method 4: Install Slack via Snap

Snap provides the simplest installation path since Ubuntu includes it by default. This method offers automatic background updates and application sandboxing without additional setup.

Install Slack via Snap Command

Install Slack using the Snap package manager with the following command:

sudo snap install slack --classic

The --classic flag grants Slack access to system resources outside the Snap sandbox, which is required for full functionality including file access and system integration.

Verify the installation:

snap list slack

Expected output:

Name   Version   Rev    Tracking       Publisher   Notes
slack  4.x.x     xx     latest/stable  slack✓      classic

Launch Slack on Ubuntu

Once installed, launch Slack from the terminal using the command that matches your installation method:

# APT installations (extrepo or manual repository)
slack

# Flatpak installation
flatpak run com.slack.Slack

# Snap installation
snap run slack

Alternatively, open the application menu in your desktop environment. Search for “Slack” in the menu’s search bar or locate the Slack icon in the list of installed applications, then click the icon to launch the application. Finally, log in to your workspace or create a new account at first launch.

Update Slack on Ubuntu

Keeping Slack up to date gives you the latest features and security patches. Therefore, the update method depends on how you installed Slack.

For APT installations (both extrepo and manual repository methods), refresh your package lists and upgrade Slack directly:

sudo apt update
sudo apt install --only-upgrade slack-desktop

The repository configuration ensures updates arrive through your standard APT workflow.

Flatpak installations update with:

sudo flatpak update

This command updates all system-wide Flatpak applications including Slack.

Snap installations update with:

sudo snap refresh slack

Snap also performs automatic background updates, so manual refreshes are typically unnecessary.

Regular updates keep Slack performing well and give you access to new features as they are released. If you manage team communication alongside remote access, secure your Ubuntu system with SSH key-based authentication. Development teams often pair Slack with Docker for containerized development environments. If you need additional communication tools, explore Discord for gaming communities or Zoom for video conferencing.

Remove Slack from Ubuntu

When you no longer need Slack, removal methods vary by installation type. Follow the section below that matches how you installed the application.

Remove APT Installation (extrepo or Manual)

First, remove the Slack package and any orphaned dependencies:

sudo apt remove slack-desktop
sudo apt autoremove

This leaves system configuration files in /etc. For complete removal including configuration files:

sudo apt purge slack-desktop
sudo apt autoremove

Next, remove the repository configuration based on which method you used.

For extrepo installations:

sudo extrepo disable slack
sudo rm -f /etc/apt/sources.list.d/extrepo_slack.sources
sudo apt update

The extrepo disable command adds Enabled: no to the sources file rather than deleting it. The rm command completes the removal by deleting the file entirely.

For manual APT repository installations:

sudo rm -f /etc/apt/sources.list.d/slack.sources /etc/apt/sources.list.d/slack.list
sudo rm -f /etc/apt/keyrings/slacktechnologies_slack-archive-keyring.gpg
sudo apt update

Specifically, the command removes both .sources and .list files to clean up any legacy configurations that may exist.

Remove Flatpak Installation

If you used Flatpak, remove the system-wide Flatpak app and its sandboxed data:

sudo flatpak uninstall --delete-data com.slack.Slack

As a result, the --delete-data flag cleans up ~/.var/app/com.slack.Slack so cached data does not linger after removal.

Remove Snap Installation

For Snap installations, remove the application with:

sudo snap remove slack

Snap automatically removes the application data stored in ~/snap/slack during uninstallation.

Remove User Data Directories

For APT installations, Slack stores workspace configurations, cached data, and local files in your home directory. Remove these manually if you want a complete cleanup.

Warning: The commands below permanently delete your Slack workspace data, including saved passwords, workspace configurations, downloaded files, and cached messages. If you need to preserve any workspace data, export it from Slack’s web interface before removing these directories.

rm -rf ~/.config/Slack
rm -rf ~/.cache/Slack

Flatpak and Snap installations handle user data cleanup automatically through their respective uninstall commands.

Conclusion

You now have Slack installed on Ubuntu with automatic updates configured through extrepo, manual APT repository, Flatpak, or Snap. The extrepo method provides the simplest setup with automatic GPG key management, while the manual repository approach offers more control for advanced configurations. Flatpak delivers sandboxed isolation, and Snap offers pre-installed convenience. All four methods include desktop launcher access and complete removal procedures for clean uninstallation when needed.

Leave a Comment