Distrobox
What is Distrobox?ΒΆ
Run other minimal variants of popular Linux distributions in Bazzite inside of a container, and access each distribution's packages without any of their dependencies and libraries affecting the host machine.
Important Notes:ΒΆ
- Containers are not virtual machines.
- Containers are intended to be disposable and may run into issues where they need to be recreated.
- Using this method to obtain software requires knowledge of how traditional Linux operating systems install packages.
- Create a test container to familiarize yourself with basic Linux commands before diving in further.
Distrobox containers run sub-systems of other popular Linux distributions with access to their package managers (apt
, dnf
, pacman
, etc.) and their package formats (.deb
/.rpm
) and any additional repositories like the AUR.
Arch Linux Distrobox Container Example:ΒΆ
i use arch (in a container) btw.
Linux Distribution Examples:
OS | Package Manager | Search for Packages |
---|---|---|
Fedora | dnf |
Fedora Packages / COPR Packages |
Arch Linux | pacman |
Arch Linux Packages / AUR Packages |
Debian / Ubuntu | apt |
Debian Packages / Ubuntu Packages (PPA) |
openSUSE | zypper |
openSUSE Packages |
Void Linux | xbps |
Void Linux Packages |
Alpine Linux | apk |
Alpine Linux Packages |
Use CasesΒΆ
Distrobox containers can be used for both development environments and installing applications that are not available in any of the other installation methods which can be exclusive to specific package managers.
Distrobox Graphical InterfaceΒΆ
Distrobox containers can be created and managed graphically with BoxBuddy which is pre-installed.
Desktop IntegrationΒΆ
Applications with a graphical user interface can integrate with your system with an application shortcut entering this command inside of the container:
distrobox-export --app <package>
Read Bluefin's documentation on how containers integrate with your system.
Manually Create Pre-Configured Distrobox ContainersΒΆ
ujust distrobox-assemble
Select the container that you want to use.
Advanced users: Declare your own custom Distrobox containers following the
distrobox-assemble
documentation.
Entering The ContainerΒΆ
Swap between different containers in your host with the terminal or alternatively enter:
distrobox enter <container>
Removing Distrobox ContainersΒΆ
Delete containers graphically with BoxBuddy.
Alternatively, use the command line:
distrobox stop <container_name>
distrobox rm -f <container_name>