Automic VaultAutomic Vault

brew

Install lxc with Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, scoop, zypper

CLI client for interacting with LXD. Version 6.9 via Homebrew; verified 2026-06-23.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lxc

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add lxc

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

Debian aptverified · 92%
sudo apt install liblxc-common

Debian stable package indexes · liblxc-common · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install lxc

Fedora Rawhide package metadata · lxc · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#lxc

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

Arch Linux pacmanverified · 92%
sudo pacman -S lxc

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

openSUSE zypperverified · 92%
sudo zypper install liblxc-devel

openSUSE Tumbleweed package metadata · liblxc-devel · source: download.opensuse.org

overview

Package summary

CLI client for interacting with LXD

Commands and aliases

  • lxc

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

Sources

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:client

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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>

executables

Installed executables

CommandKindExposureNote
lxccliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version6.9
manager updated2026-06-23
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/canonical/lxd

install metadata

Package metadata

Package keybrew:lxc
Version6.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lxc
Homepagehttps://ubuntu.com/lxd
Repositoryhttps://github.com/canonical/lxd
Upstream docshttps://documentation.ubuntu.com/lxd
LicenseAGPL-3.0-only
Source archivehttps://github.com/canonical/lxd/releases/download/lxd-6.9/lxd-6.9.tar.gz
Last updated2026-06-23T10:38:02Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 16 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 15 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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