42 个开发者工具,始终保持最新 — 上游每次发布后数小时内即可通过 apt 获取。 加入 Discord

📅 自 起,使用本 apt 镜像将需要订阅。 查看价格

🐍 安装最新的 uv 在 Debian 上

Extremely fast Python package and project manager

最新版本:0.12.5 · 更新于 2026-08-14
来源版本
deb.griffo.io0.12.5 ✅
官方 Debian🚫 未收录
← 返回首页
📌 在特定发行版本上安装? Debian 12 (bookworm) · Debian 13 (trixie) · Debian 14 (forky) · Debian Sid

什么是 uv?

uv is an extremely fast Python package and project manager written in Rust by Astral (creators of Ruff). It's designed as a single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more, providing 10-100x faster performance than traditional Python tooling.

⚡ Performance Benchmarks:
  • 10-100x faster than pip for package installation
  • Resolves dependencies in milliseconds vs seconds
  • Global cache for disk-space efficient dependency deduplication
  • Parallel downloads and installations
🚀 Why Latest Versions Matter: uv is rapidly evolving with frequent releases containing major performance improvements, new features, and enhanced Python ecosystem compatibility. The latest versions include project management features, Python version management, and significant workflow improvements.

⚡ Key Features of uv

🚀 Blazing Fast

10-100x faster than pip with Rust-powered performance. Parallel downloads, efficient caching, and optimized dependency resolution.

🗂️ Project Management

Comprehensive project management with universal lockfiles, workspace support, and dependency tracking similar to Poetry.

🐍 Python Version Management

Install and manage multiple Python versions. Download Python versions as needed, switch between them effortlessly.

🛠️ Tool Management

Run and install Python tools with uvx (like pipx). Execute tools in ephemeral environments or install them globally.

📜 Script Support

Run single-file scripts with inline dependency metadata. Automatic environment creation and dependency management.

🔩 pip Compatible

Drop-in replacement for pip, pip-tools, and virtualenv with familiar CLI and advanced features like platform-independent resolutions.

🚀 始终领先于官方软件源:Debian 和 Ubuntu 在发布时会冻结软件包版本——本仓库通常在上游发布后数小时内即发布新版本。只需 apt upgrade 即可始终保持最新版本。

📦 从 deb.griffo.io 安装

运行命令

步骤 1:添加仓库

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 $(lsb_release -sc 2>/dev/null) 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 $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update

步骤 2:安装 uv

# Install latest uv
sudo apt install uv

# Verify installation
uv --version
# Install latest uv
apt install uv

# Verify installation
uv --version

🎯 基本使用示例

Project management:

# Create new Python project
uv init my-project
cd my-project

# Add dependencies
uv add requests pandas

# Run project
uv run python main.py

# Sync dependencies
uv sync

Replace pip commands:

# Create virtual environment
uv venv

# Install packages (much faster than pip)
uv pip install requests numpy pandas

# Compile requirements
uv pip compile requirements.in

# Sync requirements
uv pip sync requirements.txt

Python version management:

# Install Python versions
uv python install 3.11 3.12 3.13

# Use specific Python version
uv python pin 3.12

# Run with specific Python
uv run --python 3.11 python script.py

Tool management:

# Run tool in ephemeral environment
uvx black .
uvx ruff check

# Install tool globally
uv tool install black
uv tool install ruff

# List installed tools
uv tool list

🚀 为什么选择 deb.griffo.io?

📊 Installation Comparison:
  • Official Debian: Often outdated versions missing latest features
  • pip install: Slower, requires Python already installed
  • Curl installer: Manual updates, no package management
  • deb.griffo.io: Latest version with automatic updates

🏆 Why uv is Revolutionary

  • Speed: Rust implementation provides 10-100x performance improvement
  • Unified Tool: Replaces multiple Python tools with single binary
  • Modern Features: Lockfiles, workspaces, and advanced dependency resolution
  • Compatibility: Drop-in replacement for existing workflows
  • Reliability: Deterministic builds and reproducible environments

📦 软件包构建仓库

Debian 软件包在此 GitHub 仓库中自动构建和维护:

🔗 相关软件包

也可从 deb.griffo.io 获取:

🎯 Perfect for: Python developers who want faster package management, teams needing reproducible environments, anyone frustrated with slow pip operations, and projects requiring modern Python tooling with performance.

📦 本仓库最近发布

❓ 常见问题

uv 在官方 Debian 软件源中吗?

不在 — 官方 Debian 源没有打包 uv。本仓库目前是唯一的 apt 来源,提供 uv 0.12.5。

如何在 Debian 上安装最新版 uv?

按上方说明一次性添加 deb.griffo.io 仓库,然后运行:sudo apt install uv。之后通过常规的 sudo apt upgrade 获取新版本。

软件包是否有签名?如何构建?

每个软件包都使用仓库的 GPG 密钥(EA0F721D231FDD3A0A17B9AC7808B4DD62C41256)签名,并基于上游发布在公开的 GitHub 仓库中构建,任何人都可以审查。

支持哪些 Debian 版本?

Debian 12 Bookworm、Debian 13 Trixie、Forky 和 Sid。