Skip to content

Instantly share code, notes, and snippets.

@oshliaer
Last active August 30, 2023 00:13
Show Gist options
  • Save oshliaer/70c73003580b168f0b2c757480565fe1 to your computer and use it in GitHub Desktop.
Save oshliaer/70c73003580b168f0b2c757480565fe1 to your computer and use it in GitHub Desktop.
Discord Ubuntu dependencies
> sudo dpkg -i /tmp/discord-0.0.5.deb

Selecting previously unselected package discord.
(Reading database ... 161079 files and directories currently installed.)
Preparing to unpack /tmp/discord-0.0.5.deb ...
Unpacking discord (0.0.5) ...
dpkg: dependency problems prevent configuration of discord:
 discord depends on libappindicator1; however:
  Package libappindicator1 is not installed.
 discord depends on libc++1; however:
  Package libc++1 is not installed.

dpkg: error processing package discord (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 discord
 
> sudo apt install -f

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libappindicator1 libc++1 libc++abi1 libdbusmenu-gtk4 libindicator7
Suggested packages:
  indicator-application clang
The following NEW packages will be installed:
  libappindicator1 libc++1 libc++abi1 libdbusmenu-gtk4 libindicator7
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 308 kB of archives.
After this operation, 1,299 kB of additional disk space will be used.
> sudo apt purge discord

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libappindicator1 libc++1 libc++abi1 libdbusmenu-gtk4 libindicator7
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  discord*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 154 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 161193 files and directories currently installed.)
Removing discord (0.0.5) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
> sudo apt install libappindicator1 libc++1

And libgconf-2-4 as a variant

Also

> sudo apt install libatk-adaptor libgail-common
@oshliaer
Copy link
Author

@roadapathy, yep. 4 years have passed. Probably something has changed in their package.

@KaiserWilhelm23
Copy link

This worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment