Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/palfrey/discord-apt
APT repository for Discord
https://github.com/palfrey/discord-apt
apt-get discord
Last synced: 1 day ago
JSON representation
APT repository for Discord
- Host: GitHub
- URL: https://github.com/palfrey/discord-apt
- Owner: palfrey
- License: agpl-3.0
- Created: 2023-09-02T17:26:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-18T21:03:06.000Z (7 days ago)
- Last Synced: 2024-12-18T22:19:18.577Z (7 days ago)
- Topics: apt-get, discord
- Language: Python
- Homepage: https://tevps.net/blog/2023/09/03/apt-repository-for-discord/
- Size: 409 KB
- Stars: 85
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Discord APT repository
As has been [repeatedly asked for](https://support.discord.com/hc/en-us/community/posts/360031737491-Give-us-an-apt-repository-Linux-), this is an APT repository for Discord. Note that I do not in anyway claim ownership over the .deb files here, this is just merely a nicer packaging option. Discord: if you want to do this yourself, please tell me about it and I'll point people there instead!
## Usage instructions
1. Download the file https://palfrey.github.io/discord-apt/discord-repo_1.0_all.deb and install it (e.g. `sudo dpkg -i discord-repo_1.0_all.deb` or whatever graphical tool you use for .deb files)
2. `sudo apt-get update`
3. Install the desired version| Version | Command |
| ------- | ------------------------------------- |
| Stable | `sudo apt-get install discord` |
| PTB | `sudo apt-get install discord-ptb` |
| Canary | `sudo apt-get install discord-canary` |(I have no interest in PRs to improve these instructions or helper scripts for this. They're not very hard, but I don't want to provide free support here for anyone who can't follow those instructions. If you disagree with this, either bug Discord into supporting this themselves or fork this repo and do whatever in your fork.)
## Manual update instructions
This should not be needed, as `.github/workflows/update.yml` should do this, but just in case..
1. `pip install -r requirements.txt`
2. `python get_new_package.py`
- If this says `already have discord-.deb` and there's no new .debs in the repo, there's nothing to do further.
3. `export KEY_PASSPHRASE=`
4. `make debian/Release.gpg`, which should regenerate all the other files.
5. Commit, push, etc and the Github Pages automation will deal with the rest.## discord-repo build
1. cd `discord-repo`
2. `fakeroot ./debian/rules binary``fonts-noto-color-emoji` is a dependency for full-colour emojis. The discord packages really should depend on that, but apparently don't for some reason.