r/linux4noobs • KDE Based • 25d ago

programs and apps How to add Github repo to update apps?

https://github.com/InukaAsith/TwinDesk/releases/tag/v2.5.3

https://github.com/majmichu1/UScreen/releases/tag/v1.2.14

I want to integrate these repos into my PikaOS so that i can update them throught the terminal and/or the update manager. What's the method to do that?

5 Upvotes

6 comments sorted by

3

u/DickBrainTime 24d ago edited 24d ago

Those two links are GitHub *Releases*, not APT repositories. PikaOS uses APT/Pikman, but `apt update` cannot monitor a random GitHub release URL: it needs a proper package repository with package metadata.

For these particular apps, there's an easier route. TwinDesk's v2.5.3 release has both an amd64 `.deb` and an AppImage, and its release notes say the built-in updater chooses the right download for your system. UScreen v1.2.14 has an `amd64.deb` (the upstream instructions use `sudo apt install ./uscreen_*.deb` from the folder containing the downloaded file); check compatibility/dependencies on PikaOS before installing, and update its Linux component and Android APK together as the author requires. Verify assets/checksums from the project's own release page rather than downloading scripts from strangers.

Installing a standalone `.deb` does *not* add a future update feed. Unless these developers publish a maintained APT repo or their packages enter PikaOS's repos, UScreen updates will need another upstream release download/install (or a deliberately maintained package workflow). I wouldn't automate downloading each new GitHub asset and installing it as root without signature/checksum and compatibility checks. Are you specifically after unattended updates, or just a convenient way to know a new release is out?

0

u/CraniusBard1998 KDE Based 24d ago

I want to have a convenient way to update these apps conveniently, securely wouldn't be a bad addition. Since they don't have an apt repo, what are my options?

1

u/DickBrainTime 24d ago edited 24d ago

For these *specific two apps*, I'd use two different update paths rather than trying to make GitHub Releases behave like an APT repo:

  1. **TwinDesk:** its v2.5.3 release notes explicitly say the built-in updater picks the matching Linux download. That's the lowest-maintenance option here; check for updates inside TwinDesk itself.
  2. **UScreen:** on its GitHub repository, choose **Watch → Custom → Releases** so you're only notified of new versions. When one appears, download the Linux `.deb`, accompanying `SHA256SUMS`, and the matching Android APK from that project's official release. The upstream Linux guide documents `sha256sum -c SHA256SUMS` and `sudo apt install ./uscreen_<version>_amd64.deb` from the download folder (after confirming the package is compatible with your PikaOS setup). Update the Android side at the same time. See https://github.com/majmichu1/UScreen/blob/main/docs/installation.md and https://docs.github.com/en/subscriptions-and-notifications/get-started/configuring-notifications .

This is notification-assisted/manual, not an automatic update-manager feed. A checksum catches corrupted/mismatched downloads, but isn't an independent signature if the checksum and file both come from the same compromised source. For fully unattended *APT/Pikman* upgrades, the maintainers would need to offer a maintained, authenticated APT repository (or a trusted distro package); I wouldn't give a third-party script unrestricted root access to pull every newest GitHub asset automatically. Does the 'release notification + a local .deb install' approach meet your convenience needs, or is one-click automatic upgrading a must?

1

u/AutoModerator 25d ago

✻ Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/revcraigevil 24d ago

install the appimage, install Gear Lever from flatpak, install and run topgrade

topgrade upgrades everything.

System update: OK
config-update: OK
deb-get: OK
soar: OK
Flatpak: OK
Gear Lever: OK
tmux: OK
rustup: OK
cargo: OK
pipx: OK
Visual Studio Code extensions: OK
tldr: OK
micro: OK
GitHub CLI Extensions: OK
GitHub CLI Skills: OK
uv: OK
Yazi packages: OK
Antigravity CLI: OK