Give us an apt repository? [Linux]

Comments

14 comments

  • Entropy

    Agreed, thanks for speaking up. Linux life could be made much easier.

    7
  • TechyTrickster

    I would love a repo for Discord.  having to keep the application updated myself is sort of inconvenient.  With a repo, we'd be able to keep it updated along with everything else on our systems by simply running sudo apt-get update; sudo apt-get upgrade.  it also makes installation a lot easier.  Installation and updates the linux way! 

    4
  • Kahmlee

    What is inconvenient is that it refuse to connect if the client is not updated, something that I cannot do until repositories of the distro I use are updated with the proper package. And no, it does not support .deb packages.

    Any way to bypass the version check?

    2
  • BillyGalbreath

    This might help. I automated the updates with this script https://pastebin.com/eSrYZMsh

    It's for running Discord Canary on Debian. I just put this script at /usr/bin/discord and run it to open Discord.

    Feel free to use and modify. ^_^

    4
  • Bleuzen

    I don't think this would help much. If they do an apt repo, they should also have a rpm and Archlinux repo (and others for other distros)... at some point this would be hard to maintain.

    The point is that there are already repos, where you get updates, which are working on nearly all distros: Flatpak and Snap.

    Just install Discord with Flatpak or Snap and you are good to go. No Apt repo needed, would be just a waste of time for the developers.

    -6
  • 0
  • triangletodd

    On Regolith (Ubuntu based), I put this in my $PATH and when Discord fails to start due to version mismatch, simply run update_discord. Snap is not a valid solution, IMHO.

    https://gist.github.com/triangletodd/e529d3b1a64db6d1cb5a4f18d48bd3af

    1
  • akido_ninja

    I would love that. Just thinkng of it and checked for the availability but no.

    0
  • TheMageKing

    I would much appreciate an APT repository for Discord, as it would make my life far easier.  You don't then need to provide perfect support for all other distros: you don't do so now, anyways.  Adding an Apt repo wouldn't require much engineering work, and would probably somwhat decrease server load.

    If that isn't an option, we would appreciate an official entry in Flathub.  There is an existing community-based entry, but it would be much appreciated if that was taken over by Discord officially. 

    2
  • Draconicrose

    This would definitely be helpful. The way discord updates now is outdated and clunky. It should be updated via package manager like everything else.

    3
  • KyoLikesTrees

    Discord are you ever gonna give us a ppa? What's so hard about making one if you already have a server that stores discord .deb files?

    0
  • dolphinandcat®™©

    Bleuzen we don't want 2 package managers messing with each other's packages and possibly bricking the os. who's gonna install snap or flatpak? apt and snap don't mix well. and neither do apt and flatpak, if you have a package manager, it's a bad idea to install another and have split packages between the two because they don't interact with each other. say pkg1 depends on an old version of pkg2, if both are on apt, apt upgrade wouldn't update pkg2 because it would know that pkg1 needs the old version, if pkg1 is on snap and pkg2 is on apt, apt upgrade would update pkg2 breaking pkg1, say somehow pkg1 is part of the os kernel, and pkg2 is idk some dependency. discord had pkg1 as a dependency which is how it got on your system. then you apt upgrade and just like that your entire os stops working and since there wasn't any major kernel update, there are no recovery/backup images and you need to format the os losing most of your data and custom settings. would you like that to happen?

    0
  • triangletodd

    That makes zero sense. Snaps are containerized and flatpak’s run in a sandbox containing all of their dependencies. It’s impossible for either of those to conflict with apt packages.

    0
  • Draconicrose

    I'm on Linux mint which uses apt and flatpak out of the box. They are absolutely compatible because flatpak (and snaps) are sandboxed.

    0

Please sign in to leave a comment.