---
title: "setup bambu-studio in distrobox"
description: "gpus-are-awesome and I need one for Bambu Studio to be usable in a distrobox. Adding the flag to bind mounts the nvidia devices and sets up the necessary..."
date: 2025-12-06
published: true
tags:
  - linux
template: til
---


<a href="/gpus-are-awesome/" class="wikilink" data-title="gpus are awesome" data-description="GPU&#39;s are awesome. I just added gpu support to my bambu-studio distrobox and its flying! On my wayland based system the native package has never worked,..." data-date="2025-12-03">gpus are awesome</a> and I need one for Bambu Studio to be usable in a
distrobox.  Adding the `--nvidia` flag to `distrobox create` bind mounts the
nvidia `/dev/` devices and sets up the necessary environment variables.  Once
we are in there are a couple of packages to install to make it work.

``` bash
distrobox create --name bambu-studio --image archlinux:latest --nvidia
distrobox enter bambu-studio
sudo pacman -S nvidia-utils lib32-nvidia-utils vulkan-icd-loader
nvidia-smi
glxinfo | gprep OpenGL
sudo pacman -Syu --needed base-devel git
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
makepkg -si
paru -S bambustudio-bin

bambu-studio

distrobox-export --app bambu-studio
```

