r/linuxquestions • u/Specialist-Dog-501 • 3d ago
How to maintain 3rd apps from github on a debian ?
I am on mint 22.3 and wonder how I can keep overview of installed apps directly coming from github.
- I know first choice should be the distro repo.
- Then there's as example "Extra Repo" for the debian world containing more apps.
- I also tried to use homebrew, but was to stupid to understand the slang
- there's the option to add other repos to the standard package manager..does that also work with githubs ?
- Or Is there any other way to bundle github installed apps and keep them updated in an efficient way, may be with an dedicated container or package manager on a debian distro ? I have may be an dozen apps like that, not a high number, and typically not the most critical ones.
1
u/c2btw 3d ago
https://flathub.org/en and app images
1
u/Specialist-Dog-501 3d ago
Yes, it sounds like that's the best I can get- but if the dev offers no flatpak on his github, can I package his app myself into a flatpak without too much knowledge about the details of this app ?
1
1
u/fearless-fossa 3d ago
Mend's Renovate should be able to do that.
1
u/Specialist-Dog-501 3d ago
Thanks for this idea! It looks..like I setup PRs in a github..to trigger an update in my local instance, something like that? or have my own github to do so ? Not really familiar with github's details..
1
u/fearless-fossa 3d ago
That's the common way of using it, but you can also just use an ephemeral docker container that gives you console output about available updates. At least I remember something in that venue when I first tried my hand at it before setting up automated workflows.
3
u/Excellent-Love-6943 3d ago
By not installing them.
2
u/victormas208 3d ago
This information is invaluable; I just started using Debian on a laptop and had no idea why it kept breaking. Thanks for the info.
3
u/Excellent-Love-6943 3d ago
Don't thank me, thank the Debian maintainers and the wiki contributors for making a great product.
They take a good distro and make it fantastic.
1
u/Specialist-Dog-501 3d ago
That was also a good learning- this checkinstall goes in the direction I hoped for. An isolated container..it would just need an alarm bell when the related github updates. Then I am probably closeby flatpaks and appimages.
1
u/skyfishgoo 3d ago
installing random code from outside the official repositories is great way to bork your system.
best to do this kind of experimentation in a VM you can easily rebuild when when it breaks.
but to answer your question, you keep a list of the random things you have installed and then work thru that list by hand to see if any of your versions have been updated... if so you reinstall them all over again.
too much work if you ask me.
1
2
u/revcraigevil 3d ago
Take a look at deb-get and topgrade.
deb-get: apt-get for .debs published via GitHub or direct download
https://github.com/topgrade-rs/topgrade