๐Ÿ†“ Free forever โ€” and licensed to stay that way

Every tool here is open source; its license guarantees the right to use and redistribute it. This mirror is that promise in practice: each package's newest release that is at least 2 months old, served free forever โ€” no account, no authentication.
Security and patch fixes are published immediately. Want every release within hours of upstream? That's the main repository at deb.griffo.io. ๐Ÿš€

๐Ÿ’ฌ Questions, issues or anything about this repo? Join our Discord community โ€” the best place to get help and connect with other users.

๐Ÿงน Install Latest Ruff on Ubuntu

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

โณ Not in the free mirror yet โ€” get it from deb.griffo.io (main)
โณ Ruff is not in the free mirror yet. The free mirror currently serves Ghostty and Zed, with more on the way. Get Ruff from the main repository at deb.griffo.io โ€” every release, within hours of upstream.
SourceVersion
deb.griffo.io (main)0.15.21 โœ…
Official Ubuntu๐Ÿšซ not packaged
โ† Back to home

What is Ruff?

Ruff is an extremely fast Python linter and code formatter, written in Rust by Astral โ€” the team behind uv. With over 800 built-in rules and native re-implementations of popular plugins, a single ruff binary replaces Flake8, isort, Black, pyupgrade, autoflake and dozens of plugins, while running 10โ€“100ร— faster. It has become the default linter of the modern Python ecosystem, adopted by projects like FastAPI, Pandas and Hugging Face.

๐Ÿ˜ค Python tooling pain points: Managing flake8 plus a dozen plugins, isort fighting Black, minutes-long lint runs in CI, and installing linters into every single virtualenv? Ruff is one dependency-free binary that does it all in milliseconds โ€” and installing it with apt makes it available system-wide, for every project and venv, without pip.
๐Ÿ†“ Free forever, patched immediately: Debian and Ubuntu freeze package versions when a release ships; this free mirror instead serves the newest release once it is at least 2 months old, with security fixes published immediately. Want every release within hours instead? That's the main repository at deb.griffo.io.

โšก Key Features of Ruff

๐ŸŽ๏ธ 10โ€“100ร— Faster

Lints large codebases in milliseconds where legacy tools take minutes โ€” fast enough to run on every save and in every CI pipeline.

๐Ÿงฐ One Tool, 800+ Rules

Re-implements Flake8, isort, pyupgrade, pydocstyle, eradicate and more โ€” one config in pyproject.toml replaces a stack of plugins.

๐Ÿ–ค Drop-in Formatter

ruff format is a Black-compatible formatter โ€” same style, orders of magnitude faster, no separate tool to install.

๐Ÿ”ง Auto-fixes

Hundreds of rules come with automatic fixes: unused imports, upgraded syntax, sorted imports โ€” ruff check --fix and done.

๐Ÿ Version-aware

Targets any Python from 3.7 onward with per-version rule behavior, monorepo-friendly hierarchical configuration and per-file overrides.

๐Ÿ”Œ Editor Integrations

A built-in language server (ruff server) powers first-class VS Code, Zed, Neovim and Helix integrations from the same binary.

๐Ÿ† Why install it with apt?

  • System-wide, pip-free: one binary for every project, venv, CI job and user โ€” no per-project installs to keep in sync
  • Perfect for Docker/CI images: bake the repo into base images and every pipeline gets current ruff automatically
  • No toolchain: no Rust, no cargo, no pip โ€” a signed apt repository with prebuilt binaries for 8 architectures
  • Automatic updates: ruff releases frequently; apt upgrade keeps up so your rules never go stale
  • Pairs with uv: Astral's package manager is also served here โ€” the full modern Python toolchain from one repository

๐Ÿ“ฆ Installation from deb-free.griffo.io

Step 1: Add Repository

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

Step 2: Install Ruff

sudo apt install -y ruff
apt install -y ruff

๐Ÿš€ First run

Lint and format your project:

ruff check . # lint ruff check --fix . # lint and auto-fix ruff format . # format (Black-compatible)

๐Ÿ“ฆ Package Build Repository

The Debian packages are automatically built and maintained in this GitHub repository:

๐Ÿ”— Related Packages

Also available from deb.griffo.io:

๐ŸŽฏ Perfect for: Python developers tired of slow lint runs, teams consolidating flake8/isort/Black into one tool, CI/CD pipelines and Docker images that need a current linter without pip, and anyone using uv who wants the complete Astral toolchain via apt.

๐Ÿ’ Support This Project

If this repository saves you time and effort, please consider supporting it!

โญ Star on GitHub ๐Ÿฆ Share on Twitter

๐Ÿ“ฆ Recent releases at deb.griffo.io (main)

โ“ Frequently asked questions

Is Ruff in the official Ubuntu repositories?

No โ€” Ruff is not packaged in the official Ubuntu archives. This free mirror serves the newest Ruff release that is at least 2 months old; the main repository at deb.griffo.io serves every release within hours of upstream.

How do I install the latest Ruff on Ubuntu?

Add the deb-free.griffo.io repository once using the instructions above, then run: sudo apt install ruff. New releases arrive through the normal sudo apt upgrade.

Are the packages signed and how are they built?

Every package is signed with the repository's GPG key (EA0F721D231FDD3A0A17B9AC7808B4DD62C41256) and built from upstream releases in public GitHub packaging repositories that anyone can inspect.

Which Ubuntu releases are supported?

Ubuntu 22.04 Jammy, 24.04 Noble, 25.10 Questing and 26.04 Resolute.