Skip to content

xlionjuan/rustdesk-apt-repo-nightly

Repository files navigation

rustdesk-apt-repo-nightly

Create Repo for RustDesk Nightly

Important

This is unofficial RustDesk apt repo, what I can say is trust me bro. It is your decision whether to trust me or not.

Note

You're viewing Nightly channel, click me to check latest channel.

Note

An RPM version is also available.

Note

Cloudflare R2 source is deprecated, but it will still be available for some time.

This repo will use aptly and xlionjuan/fedora-createrepo-image to create repo, and deploy to GitHub Pages.

The download and verification logic is handled by xlion-repo-utils-gh, which fetches release data, downloads packages, and verifies SHA256 checksums.

Architectures

This repo provides the following three architectures

  • amd64 (x86_64)
  • arm64 (aarch64)
  • armhf (armv7, desktop only, sciter version)

Update frequency

Every 3 AM UTC, because RustDesk's Nightly builds take a little over 2 hours.

Add Repository

Add GPG Key

Please install xlion-repo-archive-keyring package, you need to have jq and curl installed, this command will query GitHub API to get latest keyring package, verify its SHA256 and install it.

sudo apt-get update && sudo apt-get install -y jq curl && json="$(curl -fsSL https://api.github.com/repos/xlionjuan/xlion-repo-archive-keyring/releases/latest)" && asset="$(echo "$json" | jq -r '.assets[] | select(.name | endswith(".deb")) | "\(.browser_download_url) \(.digest)"' | head -n1)" && url="${asset%% *}" && digest="${asset##* }" && [ -n "$url" ] && [ "$url" != "null" ] && [ -n "$digest" ] && [ "$digest" != "null" ] || { echo "ERROR: cannot locate .deb asset or SHA256 digest" >&2; return 1 2>/dev/null || false; } && tmpfile="$(mktemp /tmp/xlion-keyring-XXXXXX.deb)" && curl -fL "$url" -o "$tmpfile" || { echo "ERROR: download failed" >&2; return 1 2>/dev/null || false; } && expected="${digest#*:}" && actual="$(sha256sum "$tmpfile" | awk '{print $1}')" && [ "$actual" = "$expected" ] || { echo "ERROR: SHA256 mismatch" >&2; rm -f "$tmpfile"; return 1 2>/dev/null || false; } && sudo dpkg -i "$tmpfile" && rm -f "$tmpfile"

Add Package Source

.sources format is supported on all systems.

curl -fsSL https://xlionjuan.github.io/rustdesk-apt-repo-nightly/nightly.sources | sudo tee /etc/apt/sources.list.d/xlion-rustdesk-repo.sources
GitLab Pages...

Because of terrible Fastly CDN, you may want another choice, import the GitHub Pages' sources first, then run this command.

sed -i 's/github/gitlab/g' /etc/apt/sources.list.d/xlion-rustdesk-repo.sources

Install/Upgrade RustDesk

sudo apt update && sudo apt install rustdesk

Versioning

I use fpm to modify the version with current date, so you'll never need to run reinstall in order to upgrade.

License

This repository is intended for distributing software. Unless otherwise specified, all scripts and configurations are licensed under the GNU AGPLv3. THIS DOES NOT INCLUDE THE DISTRIBUTED SOFTWARE ITSELF. For the licenses of the distributed software, please refer to the software developers' websites, Git repositories, the packages' metadata, or contact the developers directly if you have any questions.

About

Unofficial RustDesk apt repo (Nightly)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors