levlaz

Installing Slack on Ubuntu

2016-09-03 Tags: ubuntu

Ah Slack, the email killer, the bane of my existence. Now in stunning Ubuntu 3d. Like chrome before it, and seemingly all electron apps, the .deb is not able to resolve all dependencies. In order to get slack working you must do the following.

  1. Download the latest .deb from here
  2. Try to install the .deb with dpkg

    cd ~/Downloads
    sudo dpkg -i slack-desktop-*-amd64.deb
    

    This step will fail with an error that looks like this:

    levlaz@ubuntu:~/Downloads$ sudo dpkg -i slack-desktop-2.1.2-amd64.deb
    Selecting previously unselected package slack-desktop.
    (Reading database ... 228971 files and directories currently installed.)
    Preparing to unpack slack-desktop-2.1.2-amd64.deb ...
    Unpacking slack-desktop (2.1.2) ...
    dpkg: dependency problems prevent configuration of slack-desktop:
    slack-desktop depends on libappindicator1; however:
    Package libappindicator1 is not installed.
    
    dpkg: error processing package slack-desktop (--install):
    dependency problems - leaving unconfigured
    Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
    Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
    Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for mime-support (3.59ubuntu1) ...
    Errors were encountered while processing:
    slack-desktop
    
  3. Once that step fails, install the required dependencies with

    sudo apt-get -f install
    

Now you can open Slack and chat away.