How to Install Slack on Ubuntu 24.04?


Slack is a popular communication and collaboration platform that allows you to chat, share files, and integrate with other tools. Slack offers real-time messaging, file sharing, integration capabilities, and voice/video calls, making it an indispensable tool for efficient teamwork.

Installing Slack on Ubuntu 24.04 is a convenient way to keep your team communication and collaboration organized, in a large enterprise or a small business. This article will show different methods to install Slack on Ubuntu 24.04 as well as its usage based on the below-supported content:

Let’s start with the installation.

How to Install Slack on Ubuntu 24.04?

Installing Slack on Ubuntu 24.04 is a straightforward process. To install Slack on Ubuntu 24.04, follow the stated methods:

Let’s start with the first one.

Method 1: Install Slack on Ubuntu 24.04 Using the Ubuntu Software Center

Users can install Slack on Ubuntu 24.04 using the Graphical User Interface (GUI). To do this, here are the steps:

Step 1: Open Ubuntu Software Center

Click on the Activities menu (usually found on the left side of the screen). Then, search for “Ubuntu Software” and open it:

Step 2: Search for Slack

In the Software Center, type “Slack” into the search bar. Then, click on the Slack application from the displayed results:

Step 3: Install Slack

Once you’ve opened the Slack page, click the “Install” button. Authenticate with your password to proceed with the installation:

Users can also install the beta version by selecting from the “Channel” field. At the time of installation, the stable release is “4.36.140” of the Slack version.

Step 4: Launch Slack

Users can open it from the “Ubuntu App Store” or access it from the application menu:

Remove/Uninstall Slack

To remove/uninstall Slack on Ubuntu 24.04, hit the “Uninstall” button by typing “slack” on the search bar of Ubuntu Software Center. It completely removes Slack from the system:

That’s it! You’ll now have Slack installed on your Ubuntu 24.04 system.

Method 2: Install Slack on Ubuntu 24.04 Using the Deb Package

One of the easiest ways to install Slack on Ubuntu 24.04 is to use the deb package provided by the official Slack website. To install Slack on Ubuntu 24.04 using the .deb Package, follow the below steps:

Step 1: Download Slack .deb Package

Go to the official Slack and click on the “Download” button for Ubuntu. It downloads the latest Slack .deb package:

Step 2: Navigate to Downloaded Folder

Save the file to your preferred location, such as your Downloads folder. Then, open a terminal and move to the particular folder where the file is saved such as the Downloads folder:

cd ~/Downloads

ls

Step 3: Install deb Package (Slack)

Now, install the Slack deb package through the apt command. For instance, if the file name is “slack-desktop-4.36.140-amd64.deb”, you can type “./slack-desktop-*” as an alternative:

sudo apt install ./slack-desktop-*.deb

Note: If users encounter any dependency errors, fix them by running the below script:

sudo apt --fix-broken install

Step 4: Launch Slack

Once the installation is complete, you can launch Slack from the Applications menu or by typing “slack” on the terminal:

To log in to Slack, enter your workspace URL and your email and password. Also, users can sign in with Apple, SSO, or Google. It launches the Slack interface:

Uninstall/Remove Slack

To uninstall/remove Slack from Ubuntu 24.04, use the “apt” command with the “slack” package along with the “autoremove” utility:

sudo apt remove slack # Remove Package (Only)

sudo apt purge slack # Remove (Packages as well as Dependencies)

sudo apt autoremove slack # Remove Slack (Completely)

You have successfully installed Slack on Ubuntu 24.04 via the default repository. You can now enjoy working with your team on Slack.

Method 3: Install Slack on Ubuntu 24.04 Using the APT

Slack is up and running on your Ubuntu 24.04 system. To install Slack on Ubuntu 24.04 using the APT package, here are the steps:

Step 1: Update Packages List

First, the Ubuntu system is up-to-date by executing the “update” utility in your terminal:

sudo apt update

Step 2: Install Slack

Once the system packages are updated, proceed with installing Slack using the following command:

sudo apt install slack

Note: If users encounter any dependency errors, fix them by running the below script:

sudo rm /usr/sbin/slack

sudo ln -s /usr/lib/slack/slack /usr/sbin/slack

sudo dpkg -r slack-desktop

Step 3: Launch Slack

Users can verify the Slack installation via the “slack” command:

slack

Note: If users find the “ssh: Could not resolve hostname slack-master: Name or service not known” error, ensure that the hostname “slack-master” is correctly configured in your system’s DNS or /etc/hosts file.

Uninstall/Remove Slack

To uninstall/remove Slack from Ubuntu 24.04, use the “apt” command with the “slack” package along with the “autoremove” utility:

sudo apt remove slack # Remove Slack Package (Only)

sudo apt purge slack # Remove Slack (Packages as well as Dependencies)

sudo apt autoremove slack # Remove Slack (Completely)

That’s it! You should now have Slack installed and ready to use on your Ubuntu 24.04 system

Method 4: Install Slack on Ubuntu 24.04 Using Snap

Snap is a universal packaging system that works across different Linux distributions and makes it easy to install and update applications. To install Slack on Ubuntu using the Snap package, follow these steps:

Step 1: Install Snap

First, update packages and install snapd, the service that runs and manages snaps:

sudo apt update
sudo apt install snapd

Step 2: Install Slack

Next, use the snap command to install the latest stable version of Slack. For this, run the snap package to install Slack:

sudo snap install slack --classic

Step 3: Verify Slack Installation

To confirm the Slack installation, use the “snap list” utility below:

snap list

Once the Stack is installed, open/launch the Slack application by executing slack in the Ubuntu terminal or from the applications menu:

Note: To update Slack, use the “snap refresh” command:

sudo snap refresh slack

Uninstall/Remove Slack

To uninstall Slack using snap, use the snap remove command with the “slack” package name:

sudo snap remove slack

Slack is now installed on your Ubuntu desktop. You can start using it.

Method 5: Install Slack on Ubuntu 24.04 Using Flatpak

Flatpak is a cross-distribution framework that allows users to run applications in isolated environments, regardless of the underlying operating system. To install Slack using Flatpak, follow these steps:

Step 1: Install Flatpak

Install Flatpak on your system by running the following command in a terminal:

sudo apt install flatpak

Step 2: Add the Flathub (Repository)

In this step, add the Flathub repository (comprises a lot of Flatpak applications), by running:

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

Step 3: Install Slack from Flathub

Now, users can install Slack from Flathub by running the “flatpak” command by specifying its source id:

flatpak install flathub com.slack.Slack

Step 4: Run/Launch Slack

Finally, users can launch Slack from the application menu or by running the below script:

flatpak run com.slack.Slack

Uninstall/Remove Slack

To uninstall/remove Slack from Ubuntu 24.04, use the “flatpak” command with the “slack” package along with the “delete-data” utility:

flatpak uninstall --delete-data slack

You have successfully installed Slack on Ubuntu 24.04 using the Flatpak package manager.

How to Use/Start Slack on Ubuntu 24.04?

To launch/open the Slack application, input “Slack” in the search bar of Activities and hit the icon. Alternatively, users can start Slack by typing “slack” from the terminal:

For the first time, a window appears when Slack is launched. Users can sign in to an existing workspace or create a new one to collaborate with their friends and colleagues:

For more information on using Slack, visit the Slack documentation page.

Conclusion

To install Slack on Ubuntu 24.04, download the Slack .deb package from the official website. Then, install the package using the “sudo apt install ./slack-desktop-*.deb” command in the same directory where you download it. This method is convenient, as users can update Slack along with other system packages using the apt command. Alternatively, users can install Slack using Ubuntu Software Center, APT, Snap, and Flatpak. For ease, users can follow the Ubuntu Software Center GUI method.

Print Friendly, PDF & Email
Categories