import { Card, Col, Row } from "react-bootstrap"; import { CodeBlock } from "../components/CodeBlock.tsx"; const GPG_KEY_URL = "https://rpm.lair.cafe/8b2023ce.gpg"; const REPO_FILE = `[lair-cafe] name=lair.cafe RPM Repository baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=${GPG_KEY_URL}`; const UNSTABLE_REPO_FILE = `[lair-cafe-unstable] name=lair.cafe RPM Repository (unstable) baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/unstable/ enabled=0 gpgcheck=1 gpgkey=${GPG_KEY_URL}`; export function Home() { return ( <>

rpm.lair.cafe

Self-hosted RPM repository for Fedora, currently hosting CUDA-accelerated builds of{" "} mistral.rs.

Quick start
1. Import the signing key
{`sudo rpm --import ${GPG_KEY_URL}`}
2. Add the repository
{`sudo dnf config-manager addrepo --from-repofile=/dev/stdin <<'EOF'\n${REPO_FILE}\nEOF`}
3. Install a package

Choose the package matching your GPU generation:

{`# RTX 3000 series (Ampere)\nsudo dnf install mistralrs-ampere\n\n# RTX 4000 series (Ada Lovelace)\nsudo dnf install mistralrs-ada\n\n# RTX 5000 series (Blackwell)\nsudo dnf install mistralrs-blackwell`}
Unstable (prerelease) packages

Unstable packages are built automatically from the latest upstream main branch commit. They use the next release version from Cargo.toml with a prerelease suffix (e.g.{" "} 0.8.1-0.1.20260511git1a2b3c4). When the upstream version is officially released, the stable package will automatically supersede any installed prerelease.

Add the unstable repository

The unstable repo is disabled by default. Add it alongside the stable repo:

{`sudo dnf config-manager addrepo --from-repofile=/dev/stdin <<'EOF'\n${UNSTABLE_REPO_FILE}\nEOF`}
Install or update from unstable
{`sudo dnf --enablerepo=lair-cafe-unstable install mistralrs-ada`}
Pin to stable

If you have the unstable repo enabled and want to stay on stable releases, exclude prerelease versions:

{`sudo dnf --disablerepo=lair-cafe-unstable update mistralrs-ada`}
); }