Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 crun

查看 crun 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install crun

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add crun

Alpine Linux edge package indexes · crun · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install crun

Debian stable package indexes · crun · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install crun

Fedora Rawhide package metadata · crun · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#crun

nixpkgs package indexes · pkgs/by-name/cr/crun/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S crun

Arch Linux sync databases · crun · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install crun

openSUSE Tumbleweed package metadata · crun · 来源: download.opensuse.org

概览

软件包摘要

Fast and lightweight fully featured OCI runtime and C library

命令和别名

  • crun

历史

项目历史与用法

crun is a fast, low-memory OCI container runtime written in C. It is a system package rather than an application framework: users and higher-level tools call it to create and manage containers from OCI runtime bundles.

项目历史

The official README frames crun as an alternative implementation of the OCI runtime specification. Its rationale is that a low-level container runtime benefits from being written in C, and that crun can also be used as a library instead of only as an external process.

The public tag history begins with 0.4 in 2019, reaches 1.0 in 2021, and continues through frequent 1.x releases. Recent release notes show steady work on security hardening, cgroups, mount handling, CRIU integration, krun integration, idmapped mounts, and runtime compatibility.

采用历史

crun is distributed broadly through Linux and source package ecosystems, including Alpine, Debian, Fedora/DNF, Nix, pacman, Ubuntu, zypper, and Homebrew. Its broad packaging footprint reflects its role as a drop-in OCI runtime option for systems using container engines such as Podman.

使用方式

crun is used where OCI runtime compatibility, startup latency, small memory footprint, and C library integration matter. The README compares it with runc, highlights faster startup and lower memory usage, and documents build dependencies across Fedora, RHEL, Ubuntu, Alpine, and openSUSE Tumbleweed.

Package users generally do not invoke crun for application logic; they install it so container engines and scripts can select it as the OCI runtime. Build-time options such as shared libraries and static Nix builds matter for distribution maintainers.

为什么软件包爱好者会关心

crun is important to package history because it made the OCI runtime layer more diverse than the Go-based runc default. Its C implementation, library mode, reproducible static build path through Nix, and heavy distro packaging make it a low-level dependency that package maintainers care about for performance, hardening, and container stack composition.

时间线

  • 2019: 0.4 public tag
  • 2021: 1.0 release
  • 2025: 1.25 and 1.26 releases add hardening and CRIU-related changes
  • 2026: 1.28 release

Related projects

  • crun implements the Open Containers Initiative runtime specification and is commonly discussed alongside runc, Podman, CRIU, libkrun/krun, Nix, and Linux cgroup/systemd integration.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:runtime

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cruncli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.28
管理器更新时间2026-07-04
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/containers/crun

安装元数据

软件包元数据

软件包键brew:crun
版本1.28
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/crun
主页https://github.com/containers/crun
仓库https://github.com/containers/crun
上游文档https://github.com/containers/crun#readme
许可证GPL-2.0-or-later OR LGPL-2.1-or-later
源码归档https://github.com/containers/crun/releases/download/1.28/crun-1.28.tar.zst
最后更新2026-07-04T23:18:55-04:00
Pulseupdated
依赖json-c, libcap, libseccomp, systemd
构建依赖go-md2man, pkgconf, python@3.14
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecrun
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

crun 1.21-1

lightweight OCI runtime for running containers

https://github.com/containers/crun

sudo apt install crun
  • Section: admin
  • Architecture: amd64
  • 5 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Crun
Debian stable package indexes · deb.debian.org · Debian stable package indexes: crun from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

crun

nix profile install nixpkgs#crun
  • normalized package name match
  • 匹配方式:Crun
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cr/crun/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

crun 1.14.1-1

lightweight OCI runtime for running containers

https://github.com/containers/crun

sudo apt install crun
  • Section: universe/admin
  • Architecture: amd64
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Crun
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: crun from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

crun 1.28-r0

Fast and lightweight fully featured OCI runtime and C library for running containers

https://github.com/containers/crun

sudo apk add crun
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: crun
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Crun
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: crun from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

crun-doc 1.28-r0

Fast and lightweight fully featured OCI runtime and C library for running containers (documentation)

https://github.com/containers/crun

sudo apk add crun-doc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: crun
  • normalized package name match
  • 匹配方式:Crun
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: crun-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

crun-static 1.28-r0

Fast and lightweight fully featured OCI runtime and C library for running containers (static library)

https://github.com/containers/crun

sudo apk add crun-static
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: crun
  • normalized package name match
  • 匹配方式:Crun
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: crun-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

crun 1.28-1.fc45

OCI runtime written in C

https://github.com/containers/crun

sudo dnf install crun
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: crun
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Crun
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: crun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

crun-krun 1.28-1.fc45

crun with libkrun support

https://github.com/containers/crun

sudo dnf install crun-krun
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: crun
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Crun
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: crun-krun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

crun-wasm 1.28-1.fc45

crun with wasm support

https://github.com/containers/crun

sudo dnf install crun-wasm
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: crun
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Crun
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: crun-wasm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

crun 1.28-1

A fast and lightweight fully featured OCI runtime and C library for running containers

https://github.com/containers/crun

sudo pacman -S crun
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Crun
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: crun from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

crun 1.27.1-1.1

OCI runtime written in C

https://github.com/containers/crun

sudo zypper install crun
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: crun
  • 7 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Crun
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: crun from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment