Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, zypper, scoop 安装 lxc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lxc

local Homebrew formula metadata

Linux

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

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

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

CLI client for interacting with LXD

历史

项目历史与用法

The Homebrew `lxc` formula packages the LXD command-line client named `lxc`, not the older low-level LXC tool suite. LXD is Canonical's system container and virtual-machine manager, and `lxc` is its default CLI for managing instances, remotes, images, networks, projects, storage, and server settings.

项目历史

The LXD repository was created in November 2014, and the official documentation carries LXD contributor copyright years from 2014 through 2026. Canonical's documentation describes LXD as a modern, secure system container and virtual machine manager with a REST API and support for workloads from a single development machine to clustered production infrastructure.

The official `lxd and lxc` explanation distinguishes LXD from LXC: LXC is the low-level userspace interface for Linux kernel containment features, while LXD is a more user-friendly system built on top of LXC with network-controllable management features.

采用历史

LXD adoption grew from Linux container users who wanted machine-like system containers with images, profiles, networking, storage pools, remotes, and clustering. The official README documents installation of the daemon on Linux and the `lxc` client on Linux, Windows, and macOS, including Homebrew for macOS.

By July 2026, the official GitHub repository had roughly 4,800 stars and 1,000 forks, and Canonical maintained both feature releases and long-term-support release branches such as 4.0, 5.0, and 5.21.

使用方式

The `lxc` command is the everyday LXD client. Official man pages list subcommands for launching, listing, stopping, copying, moving, snapshotting, exporting, importing, and configuring instances, plus image, profile, project, network, storage, cluster, and remote management.

The client stores remotes and aliases in `config.yml` under `$LXD_CONF` or `~/.config/lxc`. For remote authentication it can use TLS client certificate and key files, optional client CA material, OIDC token JSON files, and per-remote cookie jars.

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

This package is significant because its name is historically confusing: package users may expect LXC, but the formula installs the LXD client named `lxc`. For package managers, it is a cross-platform client for a Linux-only daemon and has important configuration and credential files outside the package prefix.

时间线

  • 2014: Public `canonical/lxd` repository created.
  • 2021: LXD 4.0 LTS line still maintained through later point releases.
  • 2024: LXD 5.21 LTS line active.
  • 2026: LXD 6.9 feature release and LTS point releases published.

Related projects

  • LXC provides the lower-level Linux container interface used underneath LXD.
  • dqlite is used by LXD for clustered state.
  • pylxd and the Go client package are official SDKs documented by the LXD README.
  • MicroCloud, Terraform provider for LXD, Packer LXD builder, and Ansible integrations are listed as management tools.

来源

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:client

安装行为

  • 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
$LXD_CONF/config.yml~/.config/lxc/config.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$LXD_CONF/client.crt$LXD_CONF/client.key$LXD_CONF/oidctokens/<remote>.json$LXD_CONF/jars/<remote>~/.config/lxc/client.crt~/.config/lxc/client.key~/.config/lxc/oidctokens/<remote>.json~/.config/lxc/jars/<remote>

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/canonical/lxd

安装元数据

软件包元数据

软件包键brew:lxc
版本6.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lxc
主页https://ubuntu.com/lxd
仓库https://github.com/canonical/lxd
上游文档https://documentation.ubuntu.com/lxd
许可证AGPL-3.0-only
源码归档https://github.com/canonical/lxd/releases/download/lxd-6.9/lxd-6.9.tar.gz
最后更新2026-06-23T10:38:02Z
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 Namelxc
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%

liblxc-common 1:6.0.4-4+deb13u3+b1

Linux Containers userspace tools (library)

https://linuxcontainers.org/

sudo apt install liblxc-common
  • Section: libs
  • Architecture: amd64
  • Source Package: lxc
  • 8 依赖
  • normalized package name match
  • 匹配方式:Lxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblxc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblxc1t64 1:6.0.4-4+deb13u3+b1

Linux Containers userspace tools (library)

https://linuxcontainers.org/

sudo apt install liblxc1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: lxc
  • 7 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Lxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblxc1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpam-cgfs 1:6.0.4-4+deb13u3+b1

PAM module for managing cgroups for LXC

https://linuxcontainers.org/

sudo apt install libpam-cgfs
  • Section: admin
  • Architecture: amd64
  • Source Package: lxc
  • 8 依赖
  • normalized package name match
  • 匹配方式:Lxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpam-cgfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lxc 1:6.0.4-4+deb13u3+b1

Linux Containers userspace tools

https://linuxcontainers.org/

sudo apt install lxc
  • Section: admin
  • Architecture: amd64
  • Source Package: lxc
  • 15 依赖
  • 16 可选依赖
  • normalized package name match
  • 匹配方式:Lxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lxc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lxc-dev 1:6.0.4-4+deb13u3+b1

Linux Containers userspace tools (development)

https://linuxcontainers.org/

sudo apt install lxc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lxc
  • 6 依赖
  • normalized package name match
  • 匹配方式:Lxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lxc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lxc-tests 1:6.0.4-4+deb13u3+b1

Linux Containers userspace tools (test binaries)

https://linuxcontainers.org/

sudo apt install lxc-tests
  • Section: admin
  • Architecture: amd64
  • Source Package: lxc
  • 9 依赖
  • normalized package name match
  • 匹配方式:Lxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lxc-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lxc

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

liblxc-common 1:5.0.3-2ubuntu7

Linux Containers userspace tools (library)

https://linuxcontainers.org/

sudo apt install liblxc-common
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: lxc
  • 7 依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblxc-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblxc-dev 1:5.0.3-2ubuntu7

Transitional package - liblxc-dev -> lxc-dev

https://linuxcontainers.org/

sudo apt install liblxc-dev
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: lxc
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblxc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblxc1t64 1:5.0.3-2ubuntu7

Linux Containers userspace tools (library)

https://linuxcontainers.org/

sudo apt install liblxc1t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: lxc
  • 6 依赖
  • 1 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblxc1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libpam-cgfs 1:5.0.3-2ubuntu7

PAM module for managing cgroups for LXC

https://linuxcontainers.org/

sudo apt install libpam-cgfs
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: lxc
  • 7 依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpam-cgfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

lxc 1:5.0.3-2ubuntu7

Linux Containers userspace tools

https://linuxcontainers.org/

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

lxc-dev 1:5.0.3-2ubuntu7

Linux Containers userspace tools (development)

https://linuxcontainers.org/

sudo apt install lxc-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: lxc
  • 5 依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lxc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

lxc-tests 1:5.0.3-2ubuntu7

Linux Containers userspace tools (test binaries)

https://linuxcontainers.org/

sudo apt install lxc-tests
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: lxc
  • 8 依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lxc-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

lxc-utils 1:5.0.3-2ubuntu7

Transitional package - lxc-utils -> lxc

https://linuxcontainers.org/

sudo apt install lxc-utils
  • Section: universe/admin
  • Architecture: all
  • Source Package: lxc
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lxc-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

lxc1 1:5.0.3-2ubuntu7

Transitional package - lxc1 -> lxc

https://linuxcontainers.org/

sudo apt install lxc1
  • Section: universe/admin
  • Architecture: all
  • Source Package: lxc
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lxc1 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