README.md 1.27 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
# What's this all about?
The chat platform [Discord](https://discord.com) also offers a Linux client. However, they do not provide a Debian-compatible package repository, so that updates to the client have to be manually downloaded from the website, and manually installed via `dpkg` or `apt`. I do not like this, so I searched for way to automate this. The result is the shell script provided in this repository.

# How does it work?
The shell script will create a local apt repository, and add this to the apt repository sources. Additionally, it creates a configuration hook for `apt`, so that the most up to date Discord client package is automatically downloaded everytime you run `apt update`.

# How should I use it?
Download the script, and execute it in a terminal. It needs root privileges, and uses `sudo` to escalate there. Provide your credentials for `sudo` when asked for it, and run `apt update` afterwards.

To install the Discord client run `apt install discord`, if you don't have it installed yet. Any updates will automatically be applied with `apt upgrade`.

# Credits
The idea on how to solve this is not my own one, it comes from an answer about the Zoom client on [Ask Ubuntu](https://askubuntu.com/a/1316231). I just did a little cleanup on the code, and adapted it to Discord.