How can i update discord?

I have successfully changed the version number as you suggested with this:

sudo sed -i 's/0.0.16/0.0.17/g' /opt/discord/resources/build_info.json
1 Like

Its easier just to use the web version. As far as I remember the Discord app on linux is actually just the web version under chromium engine (cmiiw). If you really want to install it on your hard drive then you can use flatpak. It’s updated to version 0.0.17. Just install libpamac-flatpak-plugin (if you haven’t already), go to pamac (your software manager) settings, enable flatpak and look for the latest Discord.

2 Likes

Hello, i fixed this:

sudo rm -rf /opt/discord/

and untar discord 0.0.17 tar to /opt/discord/

chmod +x discord.desktop

But this is only for waiting discord package normal update.

This is wrong, don’t do that, we already gave multiple solution to the issue (editing the version in a file, local install, flatpak).

1 Like

You really just need to go to /opt/discord/resources/build_info.json and edit the version # in that file.

Though maybe using the flatpak version of Discord would be easier for you. Just follow the directions below.

Personally, i use webcord (AUR) instead, as that one doesn’t block you because of a pending update.

Hi @SolidCapo,

While I don’t really like it and wouldn’t usually reommend it, I think now it is. a Discord .AppImage is available:

Download it at:

So you can always use that until it’s updated in the repositories.

i have downloaded the tarball, opened the /opt/discord with system privilegs - replaced the files with the file within the archive - now running discord 0.0.17 - everything went fine and its running.

You’re lucky. It might not have.

For those thinking it is good to remove and/or extract an archive inside a system folder overwriting and possibly adding untracked files in the process, why don’t you extract the archive folder inside a temporary folder in your home, and execute Discord from there waiting for the update?

We already have many solutions not involving bad practice, why would you do that and possibly mess your system files and permission?

Just to list them:

  • local installation (in your home)
  • Flatpak
  • AppImage
  • using Discord in the browser
  • Discord Canary (from repositories)
  • using alternative Discord client from AUR
  • editing one value in a Discord file

I put editing the Discord .json file last as it is touching a file in the system and requires elevated privileges, but it is actually the most simple to do waiting for the update to reach repositories.

5 Likes

How long does it usually take for the version to be updated on the manjaro repositories? Considering it happens everytime discord updates, someone must have figured out a way to update the repository version faster? I am using the web app for now but it would really be nice if the repositories get updated. I am not trying to rush the devs here, maybe they have their reasons for the delay but still.

That but tells me to just disregard everything else in the sentence, because you are actually trying to make it happen faster.

Now, I don’t have Discord. I Don’t use Discord. Never have.

It’s not Manjaro’s fault or problem, for that matter, if a 3rd party application suddenly stops working because of something a 3rd company, completely independent from Manjaro, changed something. No matter how big or small that something is.

There were plenty of alternatives given. In this case I recommend the .AppImage, but there’s always discord-canary from the community repository:

$ pamac search discord
[...]
discord-canary                                                                                                                                                                                                  0.0.133-1                         community
All-in-one voice and text chat for gamers that's free and secure.
[...]

Discord 0.0.17-1 just landed in arch stable. So anyone facing this issue can switch branch to unstable or maybe the manjaro-team can push it to all repos.

https://archlinux.org/packages/community/x86_64/discord/

Discord is usually fast tracked I think, so it will happen if the package works properly on Unstable, and when it will be on Unstable because it is not currently on Unstable.

OP you’ve been givcen a lot of great options. You may not need one more person weighing in, but I’m going to do so anyway. There is one install for Discord to avoid cause you will always get what you have in you first post. I’ve made the mistake in the past and just the other day in ArcoLinux. I simply removed it after realizing what I did and installed the Flatpak. What ever is up with that version is on the packager and not on the various various Linux Distro devs.

Already done. There’s also dvm available in the AUR as an alternative to waiting for the repo package to update.

1 Like

I do this and get work and update overwrites all to back normal :smiley:

How its wrong? :smiley:

Because you don’t do that by principle, because there was MANY safe and proper alternatives, because the package files may be different than the archive content and now you may have files the system don’t know about in your system. I didn’t say it would not work, but you should not do that.

It’s wrong because this’ll cause something to break.