Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Add Clear Linux OS dependencies #4852

Closed
wants to merge 1 commit into from
Closed
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
17 changes: 12 additions & 5 deletions docs/linux_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This page lists the required dependencies to build a Bevy project on your Linux

If you don't see your distro present in the list, feel free to add the instructions in this document.

## Ubuntu 20.04
## [Ubuntu](https://ubuntu.com/)

```bash
sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev
Expand All @@ -26,7 +26,7 @@ Compiling with clang is also possible - replace the `g++` package with `clang`.
Graphics and audio need to be configured for them to work with WSL 2 backend.
Please see the ubuntu [WSL documentation](https://wiki.ubuntu.com/WSL) on how to set up graphics and audio.

## Fedora
## [Fedora](https://getfedora.org/)

```bash
sudo dnf install gcc-c++ libX11-devel alsa-lib-devel systemd-devel
Expand Down Expand Up @@ -94,11 +94,11 @@ with pkgs; mkShell {
}
```

And enter it by just running `nix-shell`. You should be able compile bevy programms using `cargo` within this nix-shell.
And enter it by just running `nix-shell`. You should be able compile bevy programs using `cargo` within this nix-shell.

Note that this template doesn't add Rust to the environment because there are many ways to do it, each with its pros and cons. For example, to use stable Rust from nixpkgs you can add `cargo` to `nativeBuildInputs`.
Note that this template does not add Rust to the environment because there are many ways to do it, each with its pros and cons. For example, to use stable Rust from nixpkgs you can add `cargo` to `nativeBuildInputs`.

## Opensuse Tumbleweed
## [OpenSUSE](https://www.opensuse.org/)

```bash
sudo zypper install libudev-devel gcc-c++ alsa-lib-devel
Expand All @@ -109,3 +109,10 @@ Note that this template doesn't add Rust to the environment because there are ma
```bash
sudo emerge --ask libX11 pkgconf alsa-lib
```

## [Clear Linux OS](https://clearlinux.org/)

```bash
sudo swupd bundle-add devpkg-alsa-lib
sudo swupd bundle-add devpkg-libgudev
```