# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 distrobox

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

## 安装

```sh
sudo av install brew:distrobox
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install distrobox
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add distrobox
```

  证据: Alpine Linux edge package indexes: distrobox from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install distrobox
```

  证据: Debian stable package indexes: distrobox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install distrobox
```

  证据: Fedora Rawhide package metadata: distrobox from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#distrobox
```

  证据: nixpkgs package indexes: pkgs/by-name/di/distrobox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S distrobox
```

  证据: Arch Linux sync databases: distrobox from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install distrobox
```

  证据: openSUSE Tumbleweed package metadata: distrobox from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:distrobox
- **软件包管理器:** Homebrew
- **版本:** 1.8.2.5
- **来源摘要:** Use any Linux distribution inside your terminal
- **主页:** <https://distrobox.privatedns.org/>
- **仓库:** <https://github.com/89luca89/distrobox>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- distrobox (别名)
- distrobox-assemble (别名)
- distrobox-create (别名)
- distrobox-enter (别名)
- distrobox-ephemeral (别名)
- distrobox-export (别名)
- distrobox-generate-entry (别名)
- distrobox-host-exec (别名)
- distrobox-init (别名)
- distrobox-list (别名)
- distrobox-rm (别名)
- distrobox-stop (别名)
- distrobox-upgrade (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8.2.5
## 项目历史与用法

distrobox is a container-based system utility for running one Linux distribution's userland inside another while keeping terminal, home directory, GUI, audio, devices, and host integration close at hand. It became especially relevant as immutable and image-based Linux desktops made mutable development environments more valuable.

### 项目历史

The project was created in late 2021 and released 1.0.0 in December 2021. Its documentation describes the original implementation as shell-oriented and based on the same broad ideas introduced by containers/toolbox, while keeping host integration and wide distribution compatibility as central goals.

### 采用历史

Official docs include packaging-status badges and a featured-articles section that points to use on Fedora Atomic desktops, SteamOS, Clear Linux, and other host distributions. The 2026 Distrobox Next announcement says the project had received contributions from more than 200 developers, which marks a substantial community for a system CLI.

### 使用方式

Users create and enter named distroboxes with subcommands such as distrobox-create and distrobox-enter, export applications back to the host, and use distrobox-assemble with a distrobox.ini manifest for batch container creation. The tool wraps Podman, Docker, or lilipod rather than being a container runtime itself.

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

distrobox is important to package-manager users because it loosens the bond between host distribution and package availability. A user can keep a stable or immutable host while installing development stacks from Arch, Fedora, Debian, Ubuntu, or another containerized userland.

### 时间线

- 2021: GitHub repository created.
- 2021: Distrobox 1.0.0 released.
- 2022: Distrobox appears in talks and articles for immutable-desktop and multi-distro workflows.
- 2026: Distrobox Next release candidates introduce a Go rewrite for the v2 line.

### Related projects

- containers/toolbox is the closest conceptual predecessor named by the official docs.
- Podman, Docker, and lilipod are supported container managers used underneath Distrobox.

### 来源

- <https://distrobox.it/>
- <https://distrobox.it/usage/distrobox-assemble/>
- <https://distrobox.it/posts/announcing_distrobox_next/>
- <https://api.github.com/repos/89luca89/distrobox>
- <https://api.github.com/repos/89luca89/distrobox/releases?per_page=100>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: ./distrobox.ini
## 其他软件包管理器记录

- Debian apt - distrobox - 1.8.1.2-1: normalized package name match | Debian stable package indexes: distrobox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Another tool for containerized command line environments on Linux | https://distrobox.it/
- Nix - distrobox: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/distrobox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - distrobox - 1.7.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: distrobox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Another tool for containerized command line environments on Linux | https://distrobox.it/
- apk - distrobox - 1.8.2.5-r0: normalized package name match | Alpine Linux edge package indexes: distrobox from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Use any Linux distribution inside your terminal | https://distrobox.it/
- apk - distrobox-bash-completion - 1.8.2.5-r0: normalized package name match | Alpine Linux edge package indexes: distrobox-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for distrobox | https://distrobox.it/
- apk - distrobox-doc - 1.8.2.5-r0: normalized package name match | Alpine Linux edge package indexes: distrobox-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Use any Linux distribution inside your terminal (documentation) | https://distrobox.it/
- apk - distrobox-zsh-completion - 1.8.2.5-r0: normalized package name match | Alpine Linux edge package indexes: distrobox-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for distrobox | https://distrobox.it/
- dnf - distrobox - 1.8.2.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: distrobox from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Another tool for containerized command line environments on Linux | https://github.com/89luca89/distrobox
- pacman - distrobox - 1.8.2.5-1: normalized package name match | Arch Linux sync databases: distrobox from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Use any linux distribution inside your terminal. | https://distrobox.it
- zypper - distrobox - 1.8.2.5-3.2: normalized package name match | openSUSE Tumbleweed package metadata: distrobox from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Use any linux distribution inside your terminal | https://github.com/89luca89/distrobox
- zypper - distrobox-bash-completion - 1.8.2.5-3.2: normalized package name match | openSUSE Tumbleweed package metadata: distrobox-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for distrobox | https://github.com/89luca89/distrobox
- zypper - distrobox-branding-openSUSE - 1.8.2.5-3.2: normalized package name match | openSUSE Tumbleweed package metadata: distrobox-branding-openSUSE from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Distrobox branding package for openSUSE | https://github.com/89luca89/distrobox


## Combined YAML source

View the package source record on GitHub. [combined/distrobox.yml](https://github.com/mxcl/pkgdb/blob/main/combined/distrobox.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
