# Install lxc

CLI client for interacting with LXD. Version 6.8 via Homebrew; verified 2026-04-23.

## Install

```sh
sudo av install brew:lxc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lxc
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add lxc
```

  Evidence: Alpine Linux edge package indexes: lxc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install liblxc-common
```

  Evidence: Debian stable package indexes: liblxc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lxc
```

  Evidence: Fedora Rawhide package metadata: lxc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lxc
```

  Evidence: nixpkgs package indexes: pkgs/by-name/lx/lxc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lxc
```

  Evidence: Arch Linux sync databases: lxc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install liblxc-devel
```

  Evidence: openSUSE Tumbleweed package metadata: liblxc-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install lxc
```

  Evidence: Chocolatey community package catalog: lxc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.2868','dispcalgui.portable'

- Scoop (92%):

```sh
scoop install main/lxc
```

  Evidence: Scoop official bucket manifest trees: bucket/lxc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package Facts

- **Package key:** brew:lxc
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/lxc>
- **Version:** 6.8
- **Source summary:** CLI client for interacting with LXD
- **Homepage:** <https://ubuntu.com/lxd>
- **Repository:** <https://github.com/canonical/lxd>
- **Upstream docs:** <https://documentation.ubuntu.com/lxd>
- **License:** AGPL-3.0-only
- **Source archive:** <https://github.com/canonical/lxd/releases/download/lxd-6.8/lxd-6.8.tar.gz>
- **Last updated:** 2026-04-23T17:48:05Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- lxc (cli)
- lxc (alias)

## Build Dependencies

- go

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 6.8
- Package-manager updated: 2026-04-23
- Local data status: ok
- Upstream repository: https://github.com/canonical/lxd
- info: No cached GitHub release or tag data was available.

## Sicherheitshinweise

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lxc
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - liblxc-common - 1:6.0.4-4+deb13u3+b1: normalized package name match | Debian stable package indexes: liblxc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux Containers userspace tools (library) | https://linuxcontainers.org/
- Debian apt - liblxc1t64 - 1:6.0.4-4+deb13u3+b1: normalized package name match | Debian stable package indexes: liblxc1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux Containers userspace tools (library) | https://linuxcontainers.org/
- Debian apt - libpam-cgfs - 1:6.0.4-4+deb13u3+b1: normalized package name match | Debian stable package indexes: libpam-cgfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PAM module for managing cgroups for LXC | https://linuxcontainers.org/
- Debian apt - lxc - 1:6.0.4-4+deb13u3+b1: normalized package name match | Debian stable package indexes: lxc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux Containers userspace tools | https://linuxcontainers.org/
- Debian apt - lxc-dev - 1:6.0.4-4+deb13u3+b1: normalized package name match | Debian stable package indexes: lxc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux Containers userspace tools (development) | https://linuxcontainers.org/
- Debian apt - lxc-tests - 1:6.0.4-4+deb13u3+b1: normalized package name match | Debian stable package indexes: lxc-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux Containers userspace tools (test binaries) | https://linuxcontainers.org/
- Nix - lxc: normalized package name match | nixpkgs package indexes: pkgs/by-name/lx/lxc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblxc-common - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: liblxc-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Linux Containers userspace tools (library) | https://linuxcontainers.org/
- Ubuntu apt - liblxc-dev - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: liblxc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Transitional package - liblxc-dev -> lxc-dev | https://linuxcontainers.org/
- Ubuntu apt - liblxc1t64 - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: liblxc1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Linux Containers userspace tools (library) | https://linuxcontainers.org/
- Ubuntu apt - libpam-cgfs - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libpam-cgfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PAM module for managing cgroups for LXC | https://linuxcontainers.org/
- Ubuntu apt - lxc - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: lxc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Linux Containers userspace tools | https://linuxcontainers.org/
- Ubuntu apt - lxc-dev - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: lxc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Linux Containers userspace tools (development) | https://linuxcontainers.org/
- Ubuntu apt - lxc-tests - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: lxc-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Linux Containers userspace tools (test binaries) | https://linuxcontainers.org/
- Ubuntu apt - lxc-utils - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: lxc-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Transitional package - lxc-utils -> lxc | https://linuxcontainers.org/
- Ubuntu apt - lxc1 - 1:5.0.3-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: lxc1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Transitional package - lxc1 -> lxc | https://linuxcontainers.org/


## Related Links

- [Cloud CLI packages](https://www.automicvault.com/de/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/de/pkg/brew/go/) - Build dependency declared by Homebrew.
- [snapcraft](https://www.automicvault.com/de/pkg/brew/snapcraft/) - Popular package that depends on this formula.
- [rockcraft](https://www.automicvault.com/de/pkg/brew/rockcraft/) - Popular package that depends on this formula.
- [incus](https://www.automicvault.com/de/pkg/brew/incus/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, linux, virtual-machines.
- [colima](https://www.automicvault.com/de/pkg/brew/colima/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, linux.
- [rootlesskit](https://www.automicvault.com/de/pkg/brew/rootlesskit/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, linux.
- [oras](https://www.automicvault.com/de/pkg/brew/oras/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [skopeo](https://www.automicvault.com/de/pkg/brew/skopeo/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [crane](https://www.automicvault.com/de/pkg/brew/crane/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [container](https://www.automicvault.com/de/pkg/brew/container/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [ko](https://www.automicvault.com/de/pkg/brew/ko/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.

## Sources

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