1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-04-25 06:40:35 +00:00

Updated [WIP] Development Environment (markdown)

Connor E 2018-11-27 16:11:36 +00:00
parent 9b1f5d0915
commit a48c90cb0a

@ -10,10 +10,7 @@ You're going to need the following tools to get started:
You'll also need the dependencies, which you can find in the [README](https://github.com/swaywm/sway/blob/master/README.md). Avoid package bundles on distributions other than Arch Linux, as they are usually outdated.
### Arch Linux (easiest)
Arch Linux has access to the convenient `sway-git` and `wlroots-git` package bundles, which contain everything you'll need to compile their respective projects.
```
pacman -S sway-git wlroots-git
```
The Arch User Repository (AUR) has the convenient `sway-git` and `wlroots-git` package bundles, which contain everything you'll need to compile their respective projects. Use your preferred AUR helper to install these.
### Fedora
Fedora requires installing all of the dependencies one-by-one. `--releasever=29` is required as dependencies for versions below 29 are outdated.
@ -47,7 +44,7 @@ export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib64/:$LD_LIBRARY_PATH
```
Execute `source ~/.profile` to update the variables for your current terminal session.
Execute `source ~/.profile` to update the variables for your current terminal session. You should ensure that your chosen shell sources `~/.profile` on login.
# Compiling
You're now ready to compile wlroots, which is the Wayland compositor library used by Sway.