How to update manually installed apps?

Probably a dumb question but it’s indeed something I haven’t done yet.

Given the current issues regarding the AUR I was wondering if manually installing apps would be something to consider.

Let’s take, as example, Brave. From what I found it looks like it’s quite simple to install:

But then, how do I keep it up to date? Would I get a message within the app when it’s out of date? (Brave on Android does this, even when it’s installed via Play Store but I haven’t seen it on Linux so far) or would I have to check myself if there’s a new version?
And how would I update the app then? Is there a command for this or would I just repeat the same command as for installing?

Not quite sure what you mean , because the method described on the page you linked is the way you would install any package from the AUR (except for the fact you should use yay -Syu instead of ya -Sy, because you always should update before you install something). And whenever there is a upstream update for the package it gets updated if you use e.g. eos-update --aur

The same way you installed it. Manually.

That would depend on the app. While some do (Freetube) some may not.

You would need to read how the app tell you to update it.

1 Like

I’m also not sure what you mean :wink:
When I install an app from the AUR I use yay -S , not curl - fsS.
Or do you mean that this is the command the script runs when I use yay?

Any idea where I would find this info for Brave?

Their page :man_shrugging:

yes, brave will tell you if you’re too far behind update (it’s usually small popup on top right hamburger menu), and since brave use AUR, you can update it alongside with your system update, I usually use eos-update --aur for my regular update

If you update first you can use yay -S, but you can also do the thing in one go by using yay -Syu.
Because if you don’t update first you can run into dependecy problems.
Here is an example of what I mean

The OP is asking about and ALTERNATIVE to the AUR

is his actual Question.
I say no its just easier to wait for them to get this resolved

1 Like

Thank you! I was really confused reading all those answers.

1 Like

I would use a GitHub mirror for that.

In the case of downtime for aur.archlinux.org:

  • Packages: We maintain a mirror of AUR packages on GitHub. You can retrieve a package using: $ git clone --branch <package_name> --single-branch https://github.com/archlinux/aur.git <package_name>

Brave-bin:
$ git clone --branch brave-bin --single-branch https://github.com/archlinux/aur.git brave-bin

And when the aur is up again, just yay again.

1 Like

Tip for those not familiar with PKGBUILDs:
In addition to the post by @EOS one needs to build the package locally and install it:

cd brave-bin
makepkg -cf 
sudo pacman -U brave-bin*.zst