Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/linux_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,25 @@ It is necessary to have the hgame module loaded in order to satisfy gli-rs. It w
```sh
hgame_load="YES"
```

## [Bazzite](https://bazzite.gg/)

Bazzite is built atop an immutable version of Fedora. But it ships with distrobox, which we can use to get the development packages we need without installing them onto the immutable OS.

Create a new distrobox built on fedora:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you find a better name than fedora?

Maybe bevy-builder or something similar?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied Jengamon's suggestions below, please let me know if that covers your suggestion.


```sh
distrobox create -n bevybuild --image fedora:latest --additional-packages "gcc-c++ libX11-devel alsa-lib-devel systemd-devel wayland-devel libxkbcommon-devel"
```

Now you have a distrobox named fedora that can run your builds:

```sh
distrobox enter -n bevybuild -- cargo build
```

Once an executable is built, run it as normal:

```sh
cargo run
```