Slack 是一个强大的平台,将团队沟通和协作集中在一个地方。对于 Linux 用户,尤其是运行 Debian 12 的用户,安装 Slack 可以提高工作效率并简化工作流程。
在 Debian 12 Bookworm 上安装 Slack
步骤 1。 首先更新系统的软件包列表,以确保所有现有软件包都是最新的。此步骤可防止在 Slack 安装过程中出现潜在的兼容性问题。
sudo apt update
sudo apt upgrade
第2步。在 Debian 12 上安装 Slack。
Slack 提供了一个 Debian 软件包 (.deb),以便于安装。但是,该软件包在默认的 Debian 存储库中不可用。您需要从 Slack 的官方网站手动下载它。在撰写本文时,直接下载链接需要经常更新。使用 wget
命令下载最新版本:
wget https://downloads.slack-edge.com/releases/linux/4.31.155/prod/x64/slack-desktop-4.31.155-amd64.deb
注意:将版本号替换为 Slack 官方下载页面提供的最新版本。
使用 .黛布
软件包下载后,使用 dpkg
在 Debian 系统上安装 Slack:
sudo dpkg -i slack-desktop-4.31.155-amd64.deb
If you encounter any dependency issues, resolve them by running:
sudo apt -f install
For users preferring Flatpak, Slack can also be installed via this method. First, ensure Flatpak is installed:
sudo apt install flatpak flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Then, install Slack using Flatpak:
flatpak install flathub com.slack.Slack
Step 3. Launching Slack on Debian.
After installing Slack, you can launch it from your system‘s application menu or by running the following command in your terminal:
slack
Or for Flatpak installations:
flatpak run com.slack.Slack
To ensure you have the latest features and security updates, it’s essential to keep Slack up-to-date.
For .deb package installation, update Slack using the following commands:
sudo apt update sudo apt upgrade slack-desktop
For Flatpak installation, update Slack using the following command:
sudo flatpak update com.slack.Slack
Congratulations! You have successfully installed Slack. Thanks for using this tutorial to install the latest version of the Slack messaging app on Debian 12 Bookworm. For additional help or useful information, we recommend you check the official Slack website.