|
@ -146,21 +146,11 @@ zypper in raylib-devel |
|
|
[raysan5]: mailto:ray@raylib.com "Ramon Santamaria - Ray San" |
|
|
[raysan5]: mailto:ray@raylib.com "Ramon Santamaria - Ray San" |
|
|
|
|
|
|
|
|
### Fedora |
|
|
### Fedora |
|
|
Fedora hasn't `raylib` in the official repository, so at least I made a [COPR repository](https://copr.fedorainfracloud.org/coprs/nost23/raylib/). |
|
|
|
|
|
|
|
|
|
|
|
#### First enable [repo](https://copr.fedorainfracloud.org/coprs/nost23/raylib/) |
|
|
|
|
|
It contains (both) packages: |
|
|
|
|
|
|
|
|
Fedora has `raylib` in the official repository. |
|
|
|
|
|
|
|
|
* `raylib-devel` - needed **only** for development, installs runtime library too |
|
|
* `raylib-devel` - needed **only** for development, installs runtime library too |
|
|
* `raylib` - runtime dependency for Fedora based systems |
|
|
* `raylib` - runtime dependency for Fedora based systems |
|
|
|
|
|
|
|
|
To add the repo: |
|
|
|
|
|
``` |
|
|
|
|
|
#> dnf copr enable nost23/raylib |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
NOTE: current "spec file" can be found at: https://copr-dist-git.fedorainfracloud.org/cgit/nost23/raylib/raylib.git/tree/raylib.spec |
|
|
|
|
|
|
|
|
|
|
|
#### To install development files (for development) |
|
|
#### To install development files (for development) |
|
|
Continue with: |
|
|
Continue with: |
|
|
|
|
|
|
|
@ -175,11 +165,6 @@ Continue with: |
|
|
#> dnf install raylib |
|
|
#> dnf install raylib |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
**If you have any doubt, [just let me know][dudekaa].** |
|
|
|
|
|
|
|
|
|
|
|
[dudekaa]: mailto:arnost@arnostdudek.cz "nost23" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### The simplest possible build command |
|
|
### The simplest possible build command |
|
|
``` |
|
|
``` |
|
|
cc main.c -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 |
|
|
cc main.c -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 |
|
|