Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OxiGuitar packages

This is where OxiGuitar and its plugins are installed from on Linux. It serves three signed package repositories: apt for Debian and Ubuntu, dnf for Fedora, and Flatpak for any Linux distribution.

There is no program here, only the scripts that build the repositories. They take the packages from each project’s latest published release, check them against the release’s checksums, sign them with one key and publish them. Nothing is stored in this repository.

Windows and macOS have no package repository. Their installers are on each project’s releases page, and the plugins’ manuals say which file to take.

Package repositories, in plain words

On Linux, programs are usually installed by a package manager: apt on Debian and Ubuntu, dnf on Fedora, and the app stores (GNOME Software, KDE Discover) built on them. A package manager installs from repositories, web sites laid out the way it expects, listing every package with its version and what it needs. Add a repository once, and from then on your normal system updates keep everything from it up to date. That is what this project gives OxiGuitar: you add it once (Installing from the repositories), and OxiGuitar and every plugin you chose update along with the rest of your system.

Signing is how you know a package really came from us. Every repository here is signed with one key, whose public half you download when you add the repository. Your package manager then refuses any package that doesn’t match the signature, whoever served it.

Flatpak is a different way to install programs, the same on every Linux distribution. A Flatpak app brings its own libraries (a runtime, shared between apps) and runs in a sandbox that only sees the folders it is allowed to. OxiGuitar’s plugins are Flatpak extensions of the app, installed next to it. Flathub is the best-known Flatpak repository; OxiGuitar has its own instead, and takes only the runtime from Flathub.

Windows and macOS have no package repository here: their installers are on each project’s releases page, and each plugin’s manual says which file to take.

Installing from the repositories

Debian, Ubuntu and relatives

Add the repository once, like a PPA:

sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL https://mateusrdp.github.io/oxiguitar-packages/oxiguitar.gpg -o /etc/apt/keyrings/oxiguitar.gpg
sudo curl -fsSL https://mateusrdp.github.io/oxiguitar-packages/oxiguitar.sources -o /etc/apt/sources.list.d/oxiguitar.sources
sudo apt update
sudo apt install -o APT::Install-Suggests="true" oxiguitar

oxiguitar recommends the Guitar Pro, MIDI, ALSA and PipeWire plugins, and apt installs recommended packages by default. It suggests the NAM, equalizer and wah plugins and the MusicXML, MIDI file and TuxGuitar plugins, and the option above installs those too. Add any other plugin by name, for example sudo apt install oxiguitar-clips. sudo apt upgrade keeps everything current.

Fedora and relatives

sudo curl -fsSL https://mateusrdp.github.io/oxiguitar-packages/oxiguitar.repo -o /etc/yum.repos.d/oxiguitar.repo
sudo dnf install oxiguitar

dnf installs the recommended plugins with it, and sudo dnf upgrade keeps them current.

Flatpak, any Linux

Flatpak takes its runtime from Flathub and everything else from this repository, so add both:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists oxiguitar https://mateusrdp.github.io/oxiguitar-packages/flatpak/oxiguitar.flatpakrepo
flatpak install oxiguitar io.github.mateusrdp.OxiGuitar
flatpak install oxiguitar io.github.mateusrdp.OxiGuitar.Plugin.guitarpro io.github.mateusrdp.OxiGuitar.Plugin.midi io.github.mateusrdp.OxiGuitar.Plugin.pipewire

Many systems have Flathub already, and the first line then changes nothing. Without Flathub, flatpak install stops with a message that it requires the runtime org.freedesktop.Platform. The file flatpak/io.github.mateusrdp.OxiGuitar.flatpakref on this site does the first three steps in one and adds both repositories. Add --user to install for yourself only.

Each plugin is a Flatpak extension named io.github.mateusrdp.OxiGuitar.Plugin. plus its short name. None comes with the app on its own, so take at least a format plugin such as guitarpro, midi and an audio output (pipewire on most desktops, alsa otherwise).

The Flatpak runs in a sandbox. It opens and saves the files you choose in its file dialogs and sees nothing else, so it has folders of its own:

FolderWhat goes in it
~/.var/app/io.github.mateusrdp.OxiGuitar/data/oxiguitar/plugins/Plugin files (.oxp) that aren’t Flatpak packages
~/.var/app/io.github.mateusrdp.OxiGuitar/data/oxiguitar/soundfonts/Sound sets
~/.var/app/io.github.mateusrdp.OxiGuitar/data/oxiguitar/nam/Amp models and cabinets

The sandbox doesn’t see your system’s sound sets either, so the Flatpak plays nothing until it has one. The sound set installer fills the Flatpak’s folder when the Flatpak is installed.

Sound sets

oxiguitar-midi suggests the package oxiguitar-bettersounds-soundfonts, which downloads a free recommended collection of sound sets, about 1.2 GB. On Debian and Ubuntu it asks first, and yes is the default. On Fedora it just does. If you say no, or a download fails, sudo oxiguitar-install-sounds --system chooses and downloads them later. OxiGuitar itself never downloads anything.

Checking the key

One RSA 4096 key signs the apt, dnf and Flatpak repositories. Its fingerprint is AFA3B6C603BCA98F123CA94848BDD452DF318B45.

The packages and their manuals

Each project has its own manual, and each manual covers only that project. The packages are named oxiguitar- plus the short name. The Flatpak extensions are io.github.mateusrdp.OxiGuitar.Plugin. plus the short name.

ProjectPackageFlatpak short nameWhat it does
OxiGuitaroxiguitar(the app itself)The program itself: opens, edits, shows and plays scores through plugins.
Guitar Pro pluginsoxiguitar-guitarproguitarproOpen Guitar Pro 3 to 8 files, and save .gp5 and .gp.
MIDI pluginoxiguitar-midimidiPlays scores with SoundFont, DLS and SFZ sound sets.
PipeWire outputoxiguitar-pipewirepipewireSends the sound to your speakers through PipeWire.
ALSA outputoxiguitar-alsaalsaSends the sound through ALSA, where PipeWire isn’t running.
NAM pluginoxiguitar-namnamAmp models and cabinets on guitar and bass tracks.
Equalizer pluginoxiguitar-eqeqA three-band or ten-band equalizer on any track.
Wah-wah pluginoxiguitar-wahwahWrites and plays wah-wah marks.
Temperament pluginoxiguitar-temperamenttemperamentPlays fretted tracks with a real guitar’s tuning quirks.
Picking pluginoxiguitar-pickingpickingPlays notes as they are picked: down or up, with a pick or the fingers.
Audio clips pluginoxiguitar-clipsclipsPlays audio files along with the score.
Audio export pluginoxiguitar-exportexportExports audio as WAV, FLAC, MP3 or Opus.
MusicXML pluginoxiguitar-musicxmlmusicxmlOpens and saves MusicXML.
MIDI file pluginoxiguitar-midi-filemidi-fileOpens and saves Standard MIDI Files.
TuxGuitar pluginoxiguitar-tuxguitartuxguitarOpens and saves TuxGuitar 2 files.
AI assistant pluginoxiguitar-aiaiA chat with a language model that reads and writes the score.
Better soundsoxiguitar-bettersounds-soundfontsnoneDownloads free recommended sound sets.

Two plugins are not in these repositories because they exist only for one system. The WASAPI output is for Windows and the Core Audio output is for macOS. Their installers are on their releases pages.

Architecture and strategy

The site is built from scratch each time. Nothing from an earlier build is read.

  1. A plugin’s own publish workflow runs when its maintainer publishes a release. It checks that the release holds every file and checksum, then sends a plugin-published event to this repository.
  2. The Site workflow starts. It downloads the .deb, .rpm and .flatpak files of the latest published release of every repository listed in repositories.txt, and checks each against the release’s SHA256SUMS. A draft release is never taken.
  3. It builds the apt repository with apt-ftparchive, the dnf repository with createrepo_c, and one OSTree repository for Flatpak, and signs all three with the same key.
  4. It installs from the result as a test: a package with apt, and the app and every plugin from the Flatpak repository, opening a sample score in the sandbox.
  5. It publishes the result on GitHub Pages, together with this manual.

Nothing polls. A repository is added to the site by adding its line to repositories.txt.

Every pull request builds a site from made-up packages with a throwaway key and installs from it with apt on Debian and dnf on Fedora, checking the signatures.

Packaging for plugins

The plugins’ release workflows call two reusable workflows from here, so a change to packaging never waits for an OxiGuitar release. plugin-release.yml builds a plugin for every system and makes the zips, the .deb, .rpm, Flatpak extension, Windows installer, macOS .pkg and checksums. plugin-publish.yml runs when the release is published and tells this site.

Releasing

The maintainer makes a release with one button, Actions, Release, Run workflow, and then publishes the draft. RELEASING.md in this repository has the details.

Current limitations

  • Linux only. There is no winget (Windows) package yet, though the manifests are ready to go once a token for it exists; Homebrew was dropped. Windows and macOS users download installers from each release.
  • Not on Flathub. OxiGuitar’s Flatpaks come from our own repository, so they don’t show up in a software centre until you add it.
  • Recent systems for .deb and .rpm. They need glibc 2.39 or newer (Debian 13, Ubuntu 24.04, Fedora 40 and later). Older systems use the Flatpak or the AppImage.
  • One signing key for everything. If it ever had to change, every user would need to fetch the new one.
  • Pre-releases. Every package is still a pre-release until its v1.0.

Left out on purpose

  • Flathub, for now (Mateus, 9 November 2026): our own repository lets OxiGuitar and each plugin release on their own schedule, with the same signing as apt and dnf.
  • Homebrew (dropped, 5 November 2026).
  • Paying for code signing on Windows and Apple’s notarisation. The installers work without it, with a warning the first time.
  • Keeping state. The site is built from scratch from the latest published releases every time, so nothing drifts and nothing needs cleaning up.
  • Polling. Nothing checks for new releases on a timer: a plugin’s publish workflow tells this site when to build.

Where you can help

  • Try the repositories on your distribution, especially Fedora and ARM64 systems, and report what goes wrong.
  • Check the Flatpak in GNOME Software or KDE Discover, and tell us how it looks and behaves.
  • Packaging know-how: if you maintain packages for a distribution, a review of scripts/plugin-package/ is welcome.

Requirements and assumptions

Requirements

For the people using the repositories:

  • Debian 13 or Ubuntu 24.04 or later, or Fedora 40 or later, for the .deb and .rpm packages. They need glibc 2.39 or newer. Older systems can use the Flatpak or the AppImage.
  • For Flatpak, Flatpak itself, and Flathub for the runtime.
  • Linux on x86_64 or ARM64.

For the people running the site:

  • The secrets APT_SIGNING_KEY and APT_SIGNING_PASSPHRASE, which hold the signing key.
  • A token, PACKAGES_TOKEN, in each plugin’s repository, so its publish workflow can send the event.
  • GitHub Pages, deployed from GitHub Actions, with main allowed to deploy.

Assumptions

  • Each plugin makes its releases with the shared workflows, so the files and checksums are where the site expects them.
  • The site is deployed from main. A change on develop reaches the site after it is merged.
  • Users trust one signing key for everything.

Features and their tests

Every feature of this repository and the tests that check it. This repository has no Rust code of its own (the trial plugins aside): its tests are the stages of tests/suite.json, named here as stage:NAME. python3 scripts/test-all.py runs every stage your system can run and checks that each row names a stage that exists. A new feature comes with its tests and a row here, in the same pull request.

Some features run only on GitHub (publishing the site, a real plugin release); their tests try the same scripts on made-up packages and files.

The package repositories

FeatureTests
An apt repository, a dnf repository and a Flatpak repository built from scratch from the packages given, all signed with one key (scripts/build-site.sh)linux:stage:package site
The Flatpak repository carries each plugin’s extension, a signed summary and a .flatpakrepo with the key; no .flatpakref without an OxiGuitar bundlelinux:stage:package site
A package for one processor and one for every processor, both installed with apt on Debian and dnf on Fedora, signatures checked (scripts/test-install.sh)linux:stage:installing from the site
Test packages made with the plugins’ own packaging scripts, so the site needs no release (scripts/make-test-packages.sh)linux:stage:package site

Packaging for plugins

FeatureTests
A plugin built into an .oxp file for the system it runs on, as plugin-release.yml builds itlinux,windows:stage:trial plugins, stage:trial plugins' tests
A release is checked before it goes out: every zip, .deb, .rpm, Flatpak, setup .exe and .pkg there and in SHA256SUMS, with the right sums; a plugin for some systems only says which (scripts/plugin-package/check-assets.sh)stage:release checks
Each built plugin file is installed as FILE.oxp, and a build for x86-64-v3 processors, Linux’s or Windows’ (FILE-VERSION-SYSTEM-x86_64-v3.oxp), as FILE-x86-64-v3.oxp beside it (scripts/plugin-package/specs.sh)stage:release checks
A pre-release version (1.2.0-rc.1) becomes 1.2.0~rc.1 in the .rpm’s namestage:release checks
No ELF file of a plugin, nor the library inside a plugin file (a tar archive), needs a newer glibc than allowed (scripts/plugin-package/check-glibc.sh)stage:release checks
Winget manifests for a plugin release, valid for winget (scripts/make-winget-manifests.sh)windows:stage:winget manifests

Releases

FeatureTests
A release’s version bumped in one step in a single plugin, a workspace of plugins and a repository with a VERSION file, and the refusals (scripts/release/bump.sh)stage:release version bump
A release waits for ci-success and runs the failed jobs again (twice at most) when it fails, so a slow mirror or a cancelled runner does not stop it (scripts/release/wait-for-ci.sh)stage:release wait for CI
Packages on GitHub’s Ubuntu runners are installed through a slow mirror however long it takes, and apt is stopped and tried again on the next mirror only when its downloads stop growing (scripts/apt-install.sh)stage:apt install
Every shell script passes shellcheckstage:shell lint

Testing

Every test of this repository runs with one command, on your own machine, and anyone can run it. When something fails, it tells you how to report it.

Run everything

python3 scripts/test-all.py

On Windows, type python instead of python3 if that’s what you have.

You need:

  • git, and Python 3.8 or newer (nothing to install with pip);
  • for the shell lint stage: bash, shellcheck.
  • for the release version bump stage: bash, git.
  • for the release checks stage: bash, sha256sum.
  • for the package site stage: bash, gpg, dpkg-deb, apt-ftparchive, rpmbuild, createrepo_c, flatpak, ostree.
  • for the installing from the site stage: bash, gpg, dpkg-deb, apt-ftparchive, rpmbuild, createrepo_c, flatpak, ostree, docker.
  • for the winget manifests stage: bash, winget.
  • for the trial plugins stage: bash, cargo.
  • for the trial plugins’ tests stage: cargo.

It runs:

  1. shellcheck on every shell script;
  2. scripts/release/bump.sh on made-up repositories shaped like ours, and its refusals (scripts/release/test-bump.sh);
  3. the Release workflow’s wait for ci-success, against stand-ins for GitHub: a pass, a failure that passes when its failed jobs run again, one that stays red, no app key, a dry run, refused reruns (tests/test-wait-for-ci.sh);
  4. scripts/apt-install.sh against a stand-in apt-get: a slow download let finish, a stuck one stopped and tried again on the next mirror, one that stays stuck, an apt error, --recommends (tests/test-apt-install.sh);
  5. the checks a plugin release meets before it goes out, on made-up files: every file there and summed, each plugin file’s installed name (a Linux or Windows x86-64-v3 build beside the first), no newer glibc than allowed (tests/test-release-checks.sh);
  6. on Linux, test packages made and signed into an apt, dnf and Flatpak site with a throwaway key (tests/test-site.sh);
  7. on Linux, the same site, then both test packages installed from it with apt and dnf in Debian and Fedora containers (tests/test-site.sh --install; needs docker, and pulls the two images);
  8. on Windows, sample winget manifests made and validated by winget;
  9. on Linux and Windows, the trial plugins built into .oxp files as a plugin repository builds them (plugins/trial/build-oxp.sh);
  10. the trial plugins’ own tests;
  11. a check of the Features page: every feature names a test, and every test it names exists.

It tests the system and processor it runs on, and only those (as Rust sees them: rustc -vV’s host). Tests for other systems are left out and the summary says so; they are not failures.

Nothing is installed on this machine. The site stages need, on Debian and Ubuntu, apt-utils createrepo-c rpm gnupg flatpak ostree appstream appstream-compose; they sign with a throwaway key in a throwaway GnuPG home, so your own keys are never touched. Installing from the site happens in Debian and Fedora containers, with docker running; the stage is skipped otherwise. The trial plugins need the Rust named in plugins/trial/Cargo.toml (with --ignore-rust-version, an older one). On macOS the trial plugins are left out: their universal build needs both Rust targets, and plugin-release-try.yml builds it.

What you get

A line per stage while it runs, then the result. In target/test-all/<date>-<time>/:

  • summary.md: the result, your system, what failed and why, short enough to paste into a GitHub issue;
  • test-all.log: everything that happened, every command and its output;

The script exits with 0 when everything passed, 1 when something failed, and 2 when it couldn’t start.

When something fails

  1. Update to the newest develop (git checkout develop && git pull) and run it again: it may be fixed already.
  2. Look for an issue about the same test at github.com/mateusrdp/oxiguitar-packages/issues.
  3. Otherwise open one: call it test-all: <the first failing test>, paste the whole summary.md, and attach test-all.log (drag it onto the text box; zip it first if it’s over 25 MB). Read the log first: it has your folder names, so change anything you’d rather keep private.
  4. You can also give summary.md and test-all.log to a language model along with this repository and ask it to find the cause.

Options

  • --release: an optimised test build: slower to build, faster corpus tests.
  • --ignore-rust-version: for a Rust older than rust-version (unsupported, but handy).
  • --out DIR: where the results go.

Adding a feature

A new feature comes with its tests and a row on the Features page, in the same pull request; a new corpus test uses tests/support/corpus.rs. The script fails until the row names tests that exist.

Credits

This project is mostly glue between excellent tools other people wrote. Thank you to all of them.

Tools that build the repositories

ToolUse
APT’s apt-ftparchiveBuilds the apt repository
dpkg’s dpkg-debBuilds the .deb packages
RPM’s rpmbuildBuilds the .rpm packages
createrepo_cBuilds the dnf repository
Flatpak and OSTreeBuild the Flatpak app, its extensions and the Flatpak repository
AppStream’s appstreamcliChecks the metadata software centres show
GnuPGSigns everything
Inno SetupBuilds the plugins’ Windows installers
Apple’s pkgbuild and productbuildBuild the plugins’ macOS installers
FlathubHosts the Freedesktop runtime the Flatpaks run on
GitHub Actions and GitHub PagesRun the workflows and serve the repositories
mdBookBuilds this manual
Bash and PythonThe scripts

Thanks

To the Debian, Fedora, Flatpak and Freedesktop communities, whose packaging tools and runtimes let a small project ship to every Linux distribution, and to everyone who adds our repository and tells us how it went.