docs: fix deps discrepency between Fedora/Ubuntu (#299)

Slight discrepancy between the instructions for Fedora and Ubuntu.

In the Fedora instructions, it doesn't include `pkg-config`, in Ubuntu,
it does.
This commit is contained in:
Spencer C. Imbleau 2024-09-13 11:00:32 -04:00 committed by GitHub
parent c1da921af5
commit b54266d605
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 4 deletions

View File

@ -121,15 +121,18 @@ The type erasure of View nodes is not an easy trick, as the trait has two associ
### Linux and BSD ### Linux and BSD
You need to have installed `pkg-config`, `clang`, and the development packages of `wayland`, 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 ```sh
sudo dnf install clang wayland-devel libxkbcommon-x11-devel libxcb-devel vulkan-loader-devel 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 ```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) ## Minimum supported Rust Version (MSRV)