macOS
brew install snapcraftlocal Homebrew formula metadata
安装
brew install snapcraftlocal Homebrew formula metadata
概览
Package any app for every Linux desktop, server, cloud or device
历史
Snapcraft is Canonical's command-line build tool for packaging and distributing applications as snaps. It centers on a project file named snapcraft.yaml and the Snap Store publishing workflow.
The public Snapcraft repository was created in 2015. Its README describes Snapcraft as a command-line build tool that packages software into the snap container format and can register and upload revisions to the Snap Store.
Snapcraft's adoption is tied to the Snap ecosystem: it is the build-side tool for developers producing snaps for Linux distributions, servers, cloud images, desktops, and IoT devices. The supplied package facts include a Homebrew formula, while the official README says Snapcraft itself is distributed as a snap and also through traditional package repositories.
Developers run snapcraft init to create snapcraft.yaml, define build and runtime details in that project file, then use snapcraft pack, register, and upload for packaging and store publication.
Snapcraft matters to package nerds because it is both a package in package managers and a package-producing tool. It exposes the tradeoffs of self-contained app bundles, store revisions, cross-distribution Linux packaging, and project metadata in a single YAML file.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
<project>/snapcraft.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
snapcraft | cli | 全局可执行文件 | |
snapcraftctl | cli | 全局可执行文件 | |
snapcraftctl-compat | cli | 全局可执行文件 | |
versioneer.py | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/canonical/snapcraft
安装元数据
| 软件包键 | brew:snapcraft |
|---|---|
| 版本 | 9.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/snapcraft |
| 主页 | https://snapcraft.io/ |
| 仓库 | https://github.com/canonical/snapcraft |
| 上游文档 | https://documentation.ubuntu.com/snapcraft/latest |
| 许可证 | GPL-3.0-only |
| 源码归档 | https://github.com/canonical/snapcraft.git |
| 最后更新 | 2026-05-14T12:58:19Z |
| Pulse | updated |
| 依赖 | certifi, cryptography, libsodium, libyaml, lxc, pydantic, pygit2, python@3.14, snap, xdelta |
| macOS 提供的库 | libffi, libxml2, libxslt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | snapcraft |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.