📣 Important update — access is changing on 1 October 2026

Starting 1 October 2026 at noon (UK time), this mirror will require authentication to keep apt working.
Downloading packages stays free from the GitHub repositories where they are built.
A yearly subscription gets you free immediate updates through apt and directly supports keeping this project alive. Thank you! 🙏

🔑 Get Your Yearly Subscription

€15 / $15 / £15 per year — US dollars if your currency isn't supported.

💬 Questions, issues or anything about this repo? Join our Discord community — the best place to get help and connect with other users.
Previously supported via Buy Me a Coffee? You are wonderful! Head over to our Discord and we will sort out a free lifetime subscription for you. 💜

🧹 Install Ruff on Ubuntu 22.04 LTS “Jammy Jellyfish”

An extremely fast Python linter and code formatter, written in Rust by Astral

← Ruff overview & all releases
📦 Currently serving: ruff 0.15.22-1~jammy for jammy (updated 2026-07-16) — architectures: amd64, arm64, armhf, riscv64. This page is regenerated automatically from the repository metadata, so the version above is exactly what apt install ruff gives you today.

Ubuntu 22.04 LTS “Jammy Jellyfish” is a long-term support release with standard support into 2027. Ruff is not shipped at its latest version by the official Ubuntu archives, so this repository builds current upstream releases as native .deb packages targeted specifically at jammy, with dependencies matching what Ubuntu 22.04 LTS actually ships.

🚀 Install Ruff on jammy

Step 1: Add the deb.griffo.io repository

sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt jammy main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null sudo apt update
install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt jammy main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null apt update

The sources line above pins the jammy suite explicitly, so it keeps working in containers and images where lsb_release is unavailable.

Step 2: Install Ruff

sudo apt install -y ruff
apt install -y ruff

🔄 Updating

Updates arrive through normal system maintenance — new upstream releases are usually packaged within hours:

sudo apt update && sudo apt install --only-upgrade ruff

🗑️ Uninstalling

sudo apt remove ruff # optionally remove the repository as well: sudo rm /etc/apt/sources.list.d/deb.griffo.io.list /etc/apt/keyrings/deb.griffo.io.gpg

📋 Ruff versions across Debian & Ubuntu releases

The same repository serves every supported release — this table is generated from the live repository metadata:

ReleaseSuiteRuff version
Debian 12 “Bookworm”bookworm0.15.22-1~bookworm
Debian 13 “Trixie”trixie0.15.22-1~trixie
Debian 14 “Forky”forky0.15.22-1~forky
Debian Sidsid0.15.22-1~sid
Ubuntu 22.04 LTS “Jammy Jellyfish”jammy (this page)0.15.22-1~jammy
Ubuntu 24.04 LTS “Noble Numbat”noble0.15.22-1~noble
Ubuntu 25.10 “Questing Quokka”questing0.15.22-1~questing
Ubuntu 26.04 LTS “Resolute”resolute0.15.22-1~resolute

❓ Frequently asked questions

Is this an official Ruff package?

No — deb.griffo.io is an unofficial repository maintained by Dario Griffo. Packages are built automatically from official upstream Ruff releases; the packaging is open source at dariogriffo/ruff-debian.

Why not install Ruff from the official Ubuntu archive?

Ubuntu's archive freezes package versions when a release ships and afterwards receives mostly security and stability fixes, so fast-moving tools are either absent or several releases behind. This repository tracks upstream releases instead, with builds targeted at each Ubuntu release.

How quickly do new Ruff releases arrive?

The repository polls upstream releases and publishes new builds automatically, typically within hours of an upstream release. Subscribe to the release feed to follow updates.

Which architectures are supported on jammy?

ruff is currently built for: amd64, arm64, armhf, riscv64.

🔗 Related

💡 All releases: need Ruff on a different Debian or Ubuntu version? The table above links to a dedicated guide for every supported release, or start from the Ruff overview.