Official packages and repositories for OpenRTMP and librtmp2 across Linux, macOS and Windows. https://packages.openrtmp.org/
  • Shell 49.9%
  • HTML 22.1%
  • CSS 16%
  • Python 8.1%
  • JavaScript 3.1%
  • Other 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-23 16:08:03 +00:00
.github fix(ci): allow socketcall for the i386 APT container 2026-11-23 05:29:58 +01:00
alpine Publish librtmp2 0.17.3 Alpine packages 2026-11-23 04:50:44 +00:00
arch/x86_64 Publish librtmp2 0.17.3 Arch Linux package 2026-11-23 04:19:33 +00:00
debian Publish librtmp2 0.17.3 Debian and Ubuntu packages 2026-11-23 16:08:03 +00:00
homebrew/librtmp2 Publish Homebrew bottles for librtmp2 0.17.3 2026-11-23 15:59:38 +00:00
rpm Publish librtmp2 0.17.3 RPM packages 2026-11-23 04:45:40 +00:00
scripts feat(site): use deb822 sources and the shared OpenRTMP logo 2026-11-22 16:53:00 +01:00
site feat(site): use deb822 sources and the shared OpenRTMP logo 2026-11-22 16:53:00 +01:00
ubuntu Publish librtmp2 0.17.3 Debian and Ubuntu packages 2026-11-23 16:08:03 +00:00
windows Publish librtmp2 0.17.3 Windows packages 2026-11-23 04:24:53 +00:00
CHANGELOG.md fix(ci): allow socketcall for the i386 APT container 2026-11-23 05:29:58 +01:00
LICENSE Initial commit 2026-08-04 12:33:20 +02:00
openrtmp-alpine.rsa.pub Publish package signing public keys 2026-08-04 11:39:10 +00:00
openrtmp.asc Publish package signing public keys 2026-08-04 11:39:10 +00:00
openrtmp.gpg Publish package signing public keys 2026-08-04 11:39:10 +00:00
README.md feat(site): use deb822 sources and the shared OpenRTMP logo 2026-11-22 16:53:00 +01:00
renovate.json Add renovate.json 2026-09-07 22:05:05 +00:00
tap_migrations.json Move the Homebrew tap to OpenRTMP/homebrew-tap 2026-10-28 22:27:40 +00:00

OpenRTMP packages

This repository publishes native packages for Debian, Ubuntu, Alpine, Fedora, Enterprise Linux, openSUSE, Arch Linux, Homebrew, and Windows.

Package versioning

All packages use the same upstream librtmp2 release (v0.17.1 is the current example), while each target keeps its package manager's native version format. Do not force Debian suffixes onto RPM, APK, Arch, Homebrew, or Windows builds.

Target Example for librtmp2 v0.17.1 New upstream release Rebuild of the same release
Debian 13 (APT) 0.17.1-1~trixie1 Debian revision 1 Increase revision, e.g. -2~trixie1
Ubuntu 26.04 (APT) 0.17.1-1~resolute1 Debian revision 1 Increase revision, e.g. -2~resolute1
Ubuntu 26.10 (APT) 0.17.1-1~stonking1 Debian revision 1 Increase revision, e.g. -2~stonking1
Fedora 44 (RPM) 0.17.1-1.fc44 RPM release 1 Increase revision, e.g. 2.fc44
Enterprise Linux 10 (RPM) 0.17.1-1.el10 RPM release 1 Increase revision, e.g. 2.el10
openSUSE Leap 16.0 (RPM) 0.17.1-1.suse160 RPM release 1 Increase revision, e.g. 2.suse160
Alpine (APK) 0.17.1-r0 Alpine pkgrel=0 Increase pkgrel, e.g. -r1
Arch Linux 0.17.1-1 Arch pkgrel=1 Increase pkgrel, e.g. -2
Homebrew 0.17.1 No formula revision Use a formula revision 1 only if a same-version formula rebuild is required
Windows (signed ZIP) librtmp2-0.17.1-windows-x86_64.zip Upstream version in filename Publish a new release for changed binaries

All example numbers are for the same upstream release, not a request to rebuild or republish it. For release v0.18.0, the defaults reset to APT -1~<codename>1, RPM -1.<dist>, Alpine -r0, Arch -1, and Homebrew/Windows 0.18.0.

Each native packaging workflow follows this default automatically on repository_dispatch and offers a revision override when started manually. The GitHub Release version remains the single source of truth. Do not introduce an RPM/Debian epoch unless a real version-ordering migration requires it. Existing published files are not renamed.

The Launchpad PPA in OpenRTMP/librtmp2 independently uses a signed Debian source-package version such as 0.17.1-1~resolute15r1: its run/attempt suffix makes re-uploads unique. Its numeric value may differ from the separately hosted APT binary repository; both still share the same upstream version.

Debian repository

Supported releases:

  • Debian 12 (bookworm)
  • Debian 13 (trixie)

Supported architectures include amd64, arm64, armhf, i386, ppc64el, riscv64, and s390x where the selected release provides an official container image.

sudo tee /etc/apt/sources.list.d/openrtmp.sources >/dev/null <<'EOF'
Types: deb
URIs: https://packages.openrtmp.org/debian
Suites: bookworm
Components: main
Signed-By: /usr/share/keyrings/openrtmp.gpg
EOF

Ubuntu repository

Supported releases:

  • Ubuntu 22.04 LTS (jammy)
  • Ubuntu 24.04 LTS (noble)
  • Ubuntu 26.04 LTS (resolute)
  • Ubuntu 26.10 (stonking)

Supported architectures are amd64, arm64, armhf, ppc64el, riscv64, and s390x.

sudo tee /etc/apt/sources.list.d/openrtmp.sources >/dev/null <<'EOF'
Types: deb
URIs: https://packages.openrtmp.org/ubuntu
Suites: noble
Components: main
Signed-By: /usr/share/keyrings/openrtmp.gpg
EOF

Install the common APT signing key first:

curl -fsSL https://packages.openrtmp.org/openrtmp.gpg \
  | sudo tee /usr/share/keyrings/openrtmp.gpg >/dev/null

sudo apt update
sudo apt install librtmp2 librtmp2-dev

APT package versioning

APT packages use the standard non-native Debian version format <upstream>-<revision>~<codename>1 (for example, 0.17.1-1~resolute1 or 0.17.1-1~stonking1). The upstream version is taken from the librtmp2 release tag, and the Debian packaging revision defaults to 1 again for every new upstream release (including patch releases).

Previously published packages named <upstream>-1+<codename>1 are retained in the APT pools and metadata for compatibility. The new format is used starting with newly published versions; republishing an identical already published upstream version with the new format would require increasing the packaging revision to avoid a downgrade.

Alpine repository

Supported branches:

  • Alpine 3.21 (v3.21)
  • Alpine 3.22 (v3.22)
  • Alpine 3.23 (v3.23)
  • Alpine 3.24 (v3.24)
  • Alpine Edge (edge)

Supported architectures are x86_64, x86, aarch64, armv7, ppc64le, riscv64, and s390x.

wget -O /etc/apk/keys/openrtmp-alpine.rsa.pub \
  https://packages.openrtmp.org/openrtmp-alpine.rsa.pub

echo "https://packages.openrtmp.org/alpine/v3.24/main" \
  >> /etc/apk/repositories

apk update
apk add librtmp2 librtmp2-dev

Fedora / DNF repository

Fedora 44 packages are built for x86_64, aarch64, ppc64le, and s390x. Packages and repository metadata are signed with the OpenRTMP GPG key.

sudo tee /etc/yum.repos.d/openrtmp.repo >/dev/null <<'EOF'
[openrtmp]
name=OpenRTMP
baseurl=https://packages.openrtmp.org/rpm/fedora/44/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.openrtmp.org/openrtmp.asc
EOF

sudo dnf install librtmp2 librtmp2-devel

Enterprise Linux / DNF repository

Enterprise Linux 9 and 10 packages are intended for RHEL-compatible systems including RHEL, Rocky Linux, and AlmaLinux. Supported architectures are x86_64, aarch64, ppc64le, and s390x.

sudo tee /etc/yum.repos.d/openrtmp.repo >/dev/null <<'EOF'
[openrtmp]
name=OpenRTMP
baseurl=https://packages.openrtmp.org/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.openrtmp.org/openrtmp.asc
EOF

sudo dnf install librtmp2 librtmp2-devel

openSUSE / Zypper repository

openSUSE Leap 16.0 packages are built for x86_64, aarch64, ppc64le, and s390x.

sudo rpm --import https://packages.openrtmp.org/openrtmp.asc
sudo zypper addrepo --refresh \
  "https://packages.openrtmp.org/rpm/opensuse/16.0/$(uname -m)" openrtmp
sudo zypper refresh
sudo zypper install librtmp2 librtmp2-devel

Arch Linux repository

The Arch Linux repository targets the official x86_64 architecture. Packages and repository databases are signed with the OpenRTMP GPG key.

curl -fsSL https://packages.openrtmp.org/openrtmp.asc -o /tmp/openrtmp.asc
key="$(gpg --show-keys --with-colons /tmp/openrtmp.asc | awk -F: '$1 == "fpr" { print $10; exit }')"
sudo pacman-key --add /tmp/openrtmp.asc
sudo pacman-key --lsign-key "$key"

sudo tee -a /etc/pacman.conf >/dev/null <<'EOF'

[openrtmp]
SigLevel = Required DatabaseRequired
Server = https://packages.openrtmp.org/arch/$arch
EOF

sudo pacman -Syu librtmp2

Homebrew

The Homebrew formula lives in its own tap, OpenRTMP/homebrew-tap, so brew only clones that small repository instead of this one:

brew install openrtmp/tap/librtmp2

Homebrew 6.0+ requires third-party taps to be trusted before their formulae are loaded (Tap Trust). Installing the fully qualified formula name (brew install openrtmp/tap/librtmp2) trusts just that formula automatically. To trust the whole tap up front instead, run brew trust openrtmp/tap.

If you previously tapped this repository (openrtmp/packages), move to the new tap. brew update migrates an installed librtmp2 on its own only when openrtmp/tap is already trusted; otherwise it prints a notice and leaves librtmp2 where it is. Either way, these steps move it and remove the old, much larger tap:

brew uninstall librtmp2
brew untap openrtmp/packages
brew install openrtmp/tap/librtmp2

The formula is updated automatically when a new librtmp2 release is published. On macOS Sequoia, Tahoe, and Golden Gate (arm64) - plus Sequoia and Tahoe on Intel, where GitHub still offers an Intel runner - brew install fetches a precompiled bottle instead of building from source; other platforms, including macOS Sonoma (whose GitHub Actions runner is deprecated), build librtmp2 locally.

Windows

Signed Windows ZIPs are built for both x86_64 and arm64 for every librtmp2 release with native Windows support (releases up to v0.11.0 do not build on Windows and have no Windows packages). Each architecture is built, tested (including RTMP and RTMPS loopback tests) and checked on a native runner of that architecture before it is published.

Each ZIP contains bin\librtmp2.dll, the import library lib\librtmp2.dll.lib, the static library lib\librtmp2.lib, the C header include\librtmp2\librtmp2.h, README, the librtmp2 license, and the OpenSSL license notice. OpenSSL is linked statically, so the DLL needs only Windows system DLLs plus the Microsoft Visual C++ Redistributable (2015-2022) that every Rust/MSVC DLL uses. Each archive has a SHA-256 checksum and an OpenPGP signature.

The verification example below requires GnuPG (gpg) to be installed. The trusted OpenRTMP package-signing key fingerprint is 615A20712AA690E917D6DCEF75E87340DA09771D.

PowerShell example:

$version = (Invoke-RestMethod https://api.github.com/repos/OpenRTMP/librtmp2/releases/latest).tag_name.TrimStart('v')
$arch = if ([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture -eq [System.Runtime.InteropServices.Architecture]::Arm64) { "arm64" } else { "x86_64" }
$base = "https://packages.openrtmp.org/windows/$arch/$version"
$file = "librtmp2-$version-windows-$arch.zip"
$keyFile = "openrtmp.asc"
$trustedFingerprint = "615A20712AA690E917D6DCEF75E87340DA09771D"

Invoke-WebRequest "$base/$file" -OutFile $file
Invoke-WebRequest "$base/$file.sha256" -OutFile "$file.sha256"
Invoke-WebRequest "$base/$file.asc" -OutFile "$file.asc"
Invoke-WebRequest "https://packages.openrtmp.org/openrtmp.asc" -OutFile $keyFile

$expectedHash = ((Get-Content "$file.sha256" -Raw).Trim() -split '\s+')[0].ToLowerInvariant()
$actualHash = (Get-FileHash -Algorithm SHA256 $file).Hash.ToLowerInvariant()
if ($actualHash -ne $expectedHash) {
    throw "SHA-256 checksum verification failed."
}

$keyInfo = & gpg --batch --with-colons --show-keys $keyFile
$fingerprintLine = $keyInfo | Where-Object { $_ -like 'fpr:*' } | Select-Object -First 1
$fingerprint = ($fingerprintLine -split ':')[9]
if ($fingerprint -ne $trustedFingerprint) {
    throw "OpenRTMP signing key fingerprint verification failed."
}

& gpg --batch --import $keyFile
if ($LASTEXITCODE -ne 0) { throw "Failed to import the OpenRTMP signing key." }
& gpg --batch --verify "$file.asc" $file
if ($LASTEXITCODE -ne 0) { throw "OpenPGP signature verification failed." }

Expand-Archive $file -DestinationPath .

Packages

  • APT: librtmp2, librtmp2-dev
  • Alpine: librtmp2, librtmp2-dev, librtmp2-static
  • RPM/DNF/Zypper: librtmp2, librtmp2-devel
  • Arch Linux: librtmp2
  • Homebrew: librtmp2
  • Windows: x86_64 and arm64 ZIPs (librtmp2 releases with native Windows support)

Publishing and website hosting (SFTP)

The public URL is https://packages.openrtmp.org/. Package-manager URLs and signing keys stay exactly the same during the hosting migration. The hosting/SFTP endpoint defaults to vweb03.eu; it is not the public repository domain. The DNS record and virtual host for packages.openrtmp.org must point to the new hosting account and provide a valid HTTPS certificate before the cutover.

The SFTP publishing workflow replaces GitHub Pages. Every successful push to main runs site validation, synchronizes the seven package families, and publishes the website and generated directory indexes. The package-build workflows explicitly dispatch this publisher because a commit pushed using GITHUB_TOKEN does not itself trigger another workflow. Each builder publishes only its affected target: apt selects Debian and Ubuntu; Alpine, RPM, Arch, Homebrew, and Windows select their respective repositories. Manual workflow_dispatch supports a target choice (default all) and a full_sync switch for recovery.

One-time GitHub configuration

Create the following repository or production environment secrets under Settings → Secrets and variables → Actions:

Secret Purpose
DEPLOY_USERNAME SFTP account user for the hosting account
DEPLOY_PASSWORD Password for that SFTP account (never commit it)
DEPLOY_REMOTE_PATH Exact web document root of the packages.openrtmp.org vhost, relative to SFTP login or absolute, e.g. httpdocs/packages only if that is the actual configured root
DEPLOY_KNOWN_HOSTS Verified SSH host key line(s) for the SFTP server, in OpenSSH known_hosts format

Optional Actions variables: DEPLOY_HOST (defaults to vweb03.eu) and DEPLOY_PORT (defaults to 22). If SFTP is hosted under a different hostname, put that actual hostname in DEPLOY_HOST. When using a nonstandard port, DEPLOY_KNOWN_HOSTS needs the [host]:port syntax.

The host key can be collected for comparison using ssh-keyscan -p 22 vweb03.eu, but verify the key fingerprint independently with the hosting provider before saving it as a secret. Do not turn off strict host-key verification.

The SFTP account needs permission to create directories and upload/replace files inside the configured document root. The remote web server must serve static files and large downloads without rewriting the paths for /debian/, /ubuntu/, /alpine/, /rpm/, /arch/, /windows/, and /homebrew/. It must not publish the GitHub repository's .github or scripts folders.

Initial migration and updates

  1. Configure the hosting virtual host, HTTPS certificate, SFTP account, DNS, and GitHub secrets/variables before merging this change.
  2. Run Publish OpenRTMP packages and website to SFTP manually and let every package job and the final website job succeed.
  3. Verify the package signing keys, APT InRelease/Packages.gz, Alpine APKINDEX.tar.gz, RPM repodata, Arch openrtmp.db, and a sample large download on the new host.
  4. Test a replacement of an existing file through SFTP in a dedicated test directory. Confirm the SFTP server permits temporary-file upload followed by a rename over the existing file; otherwise do not enable production publishing until the transport is adapted.
  5. Switch the DNS record of packages.openrtmp.org to the new host and disable GitHub Pages in the repository settings when cutover succeeds. Keep the old hosting available until DNS caches have expired.

The first successful publish copies all existing files for each platform. Each subsequent publish reads a remote per-platform commit marker from .openrtmp-publish-state/, compares Git trees with a full-history but blob-filtered checkout, and uploads only new/modified files. The job aborts if the remote marker is newer or unrelated, rather than rolling back the live repository during a stale workflow retry. If a transfer fails, the marker is not advanced. The publisher intentionally does not delete old package archives from the server, to preserve already-published download URLs. Manual full_sync rechecks all objects against the destination.

Each platform runs on its own shallow, blob-filtered checkout. No single GitHub runner needs to download the complete multi-gigabyte package tree. The lightweight site generator constructs static, searchable directory indexes from Git metadata, without downloading the package blobs. File sizes are intentionally not shown in the HTML browser because reading them would hydrate the complete multi-gigabyte tree in a blob-filtered checkout. The handcrafted homepage and assets live in site/.

Note: This workflow requires SFTP connectivity to the hosting account. HTTPS access to a control panel alone does not establish SFTP access. If the host only offers FTPS/FTP, the publishing transport must be adapted before production deployment. GitHub Actions cannot configure the remote virtual host or DNS automatically.

Uploads use lftp temporary-file transfer and overwrite-in-place semantics: a file is transferred under a temporary name in the same directory and then renamed. The hosting SFTP server must support replacing an existing file by rename without deleting the old file first. This protects individual files against interrupted uploads but does not make an entire multi-file repository metadata update transactional; installers retrying during a metadata rollover may temporarily observe a mixed generation. Signed indexes are always required, and the full hosting cutover requires an end-to-end package-manager smoke test.