As has been repeatedly asked for, 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!
Note that as a result the LICENSE
herein explicitly does not apply to the files in debian/pool
as those belong to Discord, but it does apply to everything else.
- Create a file
/etc/apt/sources.list.d/discord.list
with the contentsdeb https://palfrey.github.io/discord-apt/debian/ ./
- Download the file https://palfrey.github.io/discord-apt/discord-apt.gpg.asc to
/etc/apt/trusted.gpg.d
sudo apt-get update
sudo apt-get install discord
Commands:
curl -fSsL https://palfrey.github.io/discord-apt/discord-apt.gpg.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/discord-apt.gpg > /dev/null
echo "deb [arch=$(dpkg-architecture -q DEB_HOST_ARCH) signed-by=/etc/apt/keyrings/discord-apt.gpg] https://palfrey.github.io/discord-apt/debian/ ./" | sudo tee /etc/apt/sources.list.d/discord.list
sudo apt-get update
sudo apt-get install discord -y
This should not be needed, as .github/workflows/update.yml
should do this, but just in case..
- This repo contains some large files, so install Git LFS before checking out the repo.
pip install -r requirements.txt
python get_new_package.py
- If this says
already have discord-<version>.deb
and there's no new .debs in the repo, there's nothing to do further.
- If this says
export KEY_PASSPHRASE=<key phrase for the Discord Apt Repository key>
make debian/Release.gpg
, which should regenerate all the other files.- Commit, push, etc and the Github Pages automation will deal with the rest.