mirror of https://github.com/polybar/polybar.git
Updated Compiling (markdown)
parent
daa0fde316
commit
ca96697f20
15
Compiling.md
15
Compiling.md
|
@ -19,6 +19,11 @@ The following dependencies are only needed during compilation, you can remove th
|
||||||
|
|
||||||
**Note:** You only need either `gcc` or `clang`.
|
**Note:** You only need either `gcc` or `clang`.
|
||||||
|
|
||||||
|
All above dependencies paste-friendly for dnf (includes both `gcc` and `clang`):
|
||||||
|
```bash
|
||||||
|
sudo dnf install -y gcc-c++ clang git cmake @development-tools python3-sphinx
|
||||||
|
```
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
These are the hard dependencies, you cannot build or run polybar without them:
|
These are the hard dependencies, you cannot build or run polybar without them:
|
||||||
|
|
||||||
|
@ -35,6 +40,11 @@ All above dependencies paste-friendly for apt:
|
||||||
apt install build-essential git cmake cmake-data pkg-config python3-sphinx libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev
|
apt install build-essential git cmake cmake-data pkg-config python3-sphinx libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
All above dependencies paste-friendly for dnf:
|
||||||
|
```bash
|
||||||
|
sudo dnf install -y cairo-devel xcb-util-devel libxcb-devel xcb-proto xcb-util-image-devel xcb-util-wm-devel
|
||||||
|
```
|
||||||
|
|
||||||
### Optional Dependencies
|
### Optional Dependencies
|
||||||
|
|
||||||
These dependencies enable optional features in polybar, if they are installed during compilation:
|
These dependencies enable optional features in polybar, if they are installed during compilation:
|
||||||
|
@ -58,6 +68,11 @@ All above dependencies paste-friendly for apt:
|
||||||
apt install libxcb-xkb-dev libxcb-xrm-dev libxcb-cursor-dev libasound2-dev libpulse-dev i3-wm libjsoncpp-dev libmpdclient-dev libcurl4-openssl-dev libnl-genl-3-dev
|
apt install libxcb-xkb-dev libxcb-xrm-dev libxcb-cursor-dev libasound2-dev libpulse-dev i3-wm libjsoncpp-dev libmpdclient-dev libcurl4-openssl-dev libnl-genl-3-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
All above dependencies paste-friendly for dnf:
|
||||||
|
```bash
|
||||||
|
sudo dnf install -y xcb-util-xrm-devel xcb-util-cursor-devel alsa-lib-devel pulseaudio-libs-devel i3-ipc jsoncpp-devel libmpdclient-devel libcurl-devel wireless-tools-devel libnl3-devel
|
||||||
|
```
|
||||||
|
|
||||||
**Note:** If you have enabled any optional feature during installation, the dependencies for that feature need to remain installed, otherwise polybar may not start.
|
**Note:** If you have enabled any optional feature during installation, the dependencies for that feature need to remain installed, otherwise polybar may not start.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
Loading…
Reference in New Issue