Automic VaultAutomic Vault

brew

使用 Homebrew, apt, Nix 安装 aptly

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aptly

local Homebrew formula metadata

Linux

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

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

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

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

概览

软件包摘要

Swiss army knife for Debian repository management

命令和别名

  • aptly

历史

项目历史与用法

aptly is a Debian repository management tool for mirroring, snapshotting, publishing, and serving apt repositories. Its central idea is repeatable package environments through immutable snapshots and controlled repository changes.

项目历史

The official aptly overview defines the project around repeatability and controlled changes in package environments. It models repositories as mirrors, local repos, snapshots, and published repositories that apt clients can consume.

aptly matured from a CLI-oriented repository tool into a broader repository-management service. Its documentation covers command groups for mirrors, repos, snapshots, packages, publishing, serving, and a REST API, while later releases added storage backends, API endpoints, concurrency fixes, and support for modern repository metadata.

Release history shows the project continuing well beyond its early 1.x line. Version 1.6.0 added large repository and API capabilities such as YAML config defaults, swagger API documentation, etcd database support, Azure storage support, multi-distribution publishing, and improved mirroring. Version 1.6.3 added GCS, Artifactory, AppStream mirror support, multiple GPG keys, and reproducible-build support.

采用历史

aptly is adopted by teams that need more than a static apt directory but less than a full distribution archive infrastructure. It is common in CI/CD, appliance, internal repository, and staged-rollout workflows where the exact set of .deb packages must be reproducible.

The supplied metadata records Homebrew, Debian, Ubuntu, and Nix packaging. That cross-environment packaging matters because repository publishers are often run from build hosts, release machines, or CI containers rather than only on Debian servers.

使用方式

Operators create mirrors of remote repositories, create local repositories for custom packages, take immutable snapshots, filter or merge snapshots, then publish a snapshot or local repo under a distribution/prefix for apt clients.

Configuration is JSON by default and loaded from ~/.aptly.conf or /etc/aptly.conf unless overridden with -config. The same config can define rootDir storage, dependency behavior, GPG behavior, filesystem publishing endpoints, S3 endpoints, Swift endpoints, logging, metrics, and API serving behavior.

The REST API makes aptly useful as infrastructure plumbing: release jobs can upload packages, create snapshots, switch published repositories, and expose deterministic repository states to fleets.

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

aptly is beloved package-nerd territory because it exposes the moving parts of apt repository management: Packages files, pools, signatures, snapshots, mirrors, publication, and rollback. It turns repository state into named objects you can reason about and automate.

Its snapshot model is the key significance. APT normally consumes the current state of a repository; aptly lets maintainers freeze and publish exact package sets, which is the difference between 'upgrade from whatever the mirror has today' and 'deploy this tested repository state'.

It also bridges old Debian archive concepts with modern infrastructure expectations: API control, cloud storage backends, CI-friendly publishing, and reproducibility.

时间线

  • 2017: aptly 1.1.x tags show the early 1.x line and package-pool layout changes.
  • 2019: aptly 1.4.0 release line continues storage and repository maintenance work.
  • 2022: aptly 1.5.0 release moves artifact handling away from Bintray-era infrastructure.
  • 2024: aptly 1.6.0 adds YAML config defaults, swagger API docs, etcd support, Azure storage, and multi-distribution publishing.
  • 2026: aptly 1.6.3 adds GCS and Artifactory publishing, AppStream mirror support, multiple GPG keys, and reproducible-build support.

Related projects

  • APT is the client-side package manager that consumes aptly-published repositories.
  • dpkg and Debian package metadata define the .deb files and repository indexes aptly manipulates.
  • GnuPG is central to signing and verifying published apt repository metadata.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.aptly.conf/etc/aptly.conf

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本1.6.3
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本v1.6.3

https://github.com/aptly-dev/aptly

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:aptly
版本1.6.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/aptly
主页https://www.aptly.info/
仓库https://github.com/aptly-dev/aptly
上游文档https://www.aptly.info/doc/api
许可证MIT
源码归档https://github.com/aptly-dev/aptly/archive/refs/tags/v1.6.3.tar.gz
最后更新2026-06-25T12:05:28Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

aptly 1.6.1+ds1-3

Swiss army knife for Debian repository management - main package

https://www.aptly.info

sudo apt install aptly
  • Section: utils
  • Architecture: amd64
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Aptly
Debian stable package indexes · deb.debian.org · Debian stable package indexes: aptly from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

aptly-api 1.6.1+ds1-3

Swiss army knife for Debian repository management - API

https://www.aptly.info

sudo apt install aptly-api
  • Section: utils
  • Architecture: amd64
  • Source Package: aptly
  • 1 依赖
  • normalized package name match
  • 匹配方式:Aptly
Debian stable package indexes · deb.debian.org · Debian stable package indexes: aptly-api from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

aptly

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

aptly 1.5.0+ds1-2

Swiss army knife for Debian repository management - main package

https://www.aptly.info

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

aptly-api 1.5.0+ds1-2

Swiss army knife for Debian repository management - API

https://www.aptly.info

sudo apt install aptly-api
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: aptly
  • 2 依赖
  • normalized package name match
  • 匹配方式:Aptly
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: aptly-api from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment