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

Linux package repositories

Not published yet. The repositories are built by every release once the project’s signing key and host are set up (T669). Until then the URL below, https://vixide.github.io/packages/, does not exist: install a package file from the latest release as Getting Started shows. This page is the setup to use once published.

With the repository configured, your package manager installs Vix by name and apt upgrade or dnf upgrade brings each new release. It carries vix-tui (the vix command) and the desktop apps vix-egui, vix-gpui, vix-iced, vix-slint, vix-bui and vix-zgui, for x86_64 and aarch64, and keeps the five newest versions of each.

Debian and Ubuntu (apt)

Debian 12+ and Ubuntu 22.04+. The repository is signed; apt trusts its key only for this source (Signed-By), not for every source on the system.

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://vixide.github.io/packages/vix-archive-keyring.gpg \
  | sudo tee /etc/apt/keyrings/vix-archive-keyring.gpg >/dev/null
curl -fsSL https://vixide.github.io/packages/vix.sources \
  | sudo tee /etc/apt/sources.list.d/vix.sources >/dev/null
sudo apt update
sudo apt install vix-tui        # or vix-egui, vix-gpui, vix-iced, vix-slint, vix-bui, vix-zgui

vix.sources is a deb822 source file. To write it yourself instead:

Types: deb
URIs: https://vixide.github.io/packages/apt
Suites: stable
Components: main
Architectures: amd64 arm64
Signed-By: /etc/apt/keyrings/vix-archive-keyring.gpg

Fedora, RHEL, Rocky and Alma (dnf)

Fedora 36+ and RHEL/Rocky/Alma 8+ (vix-tui on x86_64 is a static build that runs on 8 and 9; the other packages need glibc 2.35 or newer). Both the packages and the repository metadata are signed; dnf asks you to accept the key the first time.

sudo curl -fsSLo /etc/yum.repos.d/vix.repo https://vixide.github.io/packages/vix.repo
sudo dnf install vix-tui        # or vix-egui, vix-gpui, vix-iced, vix-slint, vix-bui, vix-zgui

vix.repo contains:

[vix]
name=Vix
baseurl=https://vixide.github.io/packages/rpm/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://vixide.github.io/packages/vix.asc

Checking the key

Before trusting the key, compare its fingerprint with the one in the Vix README and the release notes, which will list it once the key exists:

curl -fsSL https://vixide.github.io/packages/vix.asc | gpg --show-keys

Removing the repository

sudo rm /etc/apt/sources.list.d/vix.sources /etc/apt/keyrings/vix-archive-keyring.gpg   # apt
sudo rm /etc/yum.repos.d/vix.repo                                                         # dnf

How the repositories are built and signed: spec/linux-packages/index.md, “Package repositories”.