Skip to content

Commit

Permalink
docs: fix deps discrepency between Fedora/Ubuntu (#299)
Browse files Browse the repository at this point in the history
Slight discrepancy between the instructions for Fedora and Ubuntu.

In the Fedora instructions, it doesn't include `pkg-config`, in Ubuntu,
it does.
  • Loading branch information
simbleau authored Sep 13, 2024
1 parent c1da921 commit b54266d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,18 @@ The type erasure of View nodes is not an easy trick, as the trait has two associ
### Linux and BSD

You need to have installed `pkg-config`, `clang`, and the development packages of `wayland`,
`libxkbcommon`, `libxcb`, and `vulkan-loader`.
`libxkbcommon`, `libxcb`, and `vulkan-loader`. Most distributions have `pkg-config` installed by default.

To install the remaining packages on Fedora, run:

Most distributions have `pkg-config` installed by default. To install the remaining packages on Fedora, run
```sh
sudo dnf install clang wayland-devel libxkbcommon-x11-devel libxcb-devel vulkan-loader-devel
```
To install them on Debian or Ubuntu, run

To install the remaining packages on Debian or Ubuntu, run:

```sh
sudo apt-get install pkg-config clang libwayland-dev libxkbcommon-x11-dev libvulkan-dev
sudo apt-get install clang libwayland-dev libxkbcommon-x11-dev libvulkan-dev
```

## Minimum supported Rust Version (MSRV)
Expand Down

0 comments on commit b54266d

Please sign in to comment.