Update README.md

This commit is contained in:
Linus Dierheimer
2022-07-21 20:18:34 +02:00
parent 63bf22fb00
commit 011c033091
+16 -3
View File
@@ -98,10 +98,23 @@ If pkg-config fails to find the headers for a library listed in [dependencies](#
### Manual
Build: Follow the [build instructions](#building).
#### Build DEB / RPM package:
```bash
cmake .. \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_SYSCONFDIR="/etc"
* Create DEB / RPM: Run `cmake --build . --target package`.
* Install directly: Run `sudo cmake --install . --prefix /usr/local`
cmake --build . --target fastfetch
```
#### Install directly:
```bash
cmake .. \
-DCMAKE_INSTALL_PREFIX="/usr/local" \
-DCMAKE_INSTALL_SYSCONFDIR="/etc"
sudo cmake --install .
```
## FAQ