This repository publishes signed OpenTubeX packages for Debian and Ubuntu at
apt.opentubex.org. It supports amd64 and arm64
systems.
sudo install -d -m 0755 /etc/apt/keyrings
wget -qO- https://apt.opentubex.org/opentubex-archive-keyring.gpg \
| sudo tee /etc/apt/keyrings/opentubex-archive-keyring.gpg >/dev/null
sudo tee /etc/apt/sources.list.d/opentubex.sources >/dev/null <<'EOF'
Types: deb
URIs: https://apt.opentubex.org
Suites: stable
Components: main
Signed-By: /etc/apt/keyrings/opentubex-archive-keyring.gpg
EOF
sudo apt update
sudo apt install opentubexIf you set up the repository with the older one-line
/etc/apt/sources.list.d/opentubex.list entry, delete that file after adding
opentubex.sources.
Development snapshots are available through the opt-in nightly suite:
sudo sed -i 's/^Suites: stable$/Suites: nightly/' /etc/apt/sources.list.d/opentubex.sources
sudo apt update
sudo apt install opentubexStable and nightly packages are indexed separately. The nightly suite carries the latest stable release while it is newer than the latest nightly.
After an OpenTubeX stable or nightly release finishes uploading its packages, the application repository sends a repository dispatch containing the exact release tag. The publish workflow then:
- resolves the latest stable release and the latest nightly; the nightly suite follows whichever of the two was published last;
- downloads their
amd64andarm64.debassets; - validates their package names and Debian architectures;
- creates isolated
stableandnightlymetadata; - deploys the signed static repository to GitHub Pages.
The workflow can also be run manually. It publishes the latest stable release
and nightly, or the release given as releaseTag.
- Create a dedicated, passphrase-protected GPG key for this repository.
- Add its ASCII-armored private key as the
APT_GPG_PRIVATE_KEYrepository secret and its passphrase asAPT_GPG_PASSPHRASE. - In Settings → Pages, select GitHub Actions as the source and configure
apt.opentubex.orgas the custom domain. - Add a DNS
CNAMErecord fromapt.opentubex.orgtoopentubex.github.io. - Run the Publish APT repository workflow once.
The OpenTubeX application repository uses its existing PUSH_TOKEN secret to
send the cross-repository dispatch. That token needs write access to this
repository.
To rotate the signing key, publish the new public key out-of-band before replacing the secrets. Existing installations trust only the key they already downloaded.