Branch
Hash :
5922b499
Author :
Thomas de Grivel
Date :
2024-10-15T13:53:45
There are no binary release from now, you must install from sources.
git clone https://git.kmx.io/kc3-lang/kc3.git
git clone https://github/kc3-lang/kc3.git
cd kc3
git submodule init
git submodule update
cd fonts
git submodule init
git submodule update
cd ..
# install build tools
sudo apt install pkg-config clang libtool-bin make ruby time
# install dependencies
sudo apt install libffi-dev libbsd-dev libevent-dev
# install demo dependencies
sudo apt install glew libfreetype-dev libsdl2-dev libxkbcommon-dev
./configure
make -j8
LD_LIBRARY_PATH
. ./env
make lib_links
Top : KC3 Guides
Next : KC3 Testing Guide
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
# KC3 installation
There are no binary release from now, you must install from sources.
## Get the sources
### From git
#### From [kmx.io git forge](https://git.kmx.io/kc3-lang/kc3)
```sh
git clone https://git.kmx.io/kc3-lang/kc3.git
```
#### From [Github](https://github.com/kc3-lang/kc3)
```sh
git clone https://github/kc3-lang/kc3.git
```
### Clone submodules also
```sh
cd kc3
git submodule init
git submodule update
cd fonts
git submodule init
git submodule update
cd ..
```
## Install from sources
### Install dependencies
#### Debian / Ubuntu / PopOS / Mint
```sh
# install build tools
sudo apt install pkg-config clang libtool-bin make ruby time
# install dependencies
sudo apt install libffi-dev libbsd-dev libevent-dev
# install demo dependencies
sudo apt install glew libfreetype-dev libsdl2-dev libxkbcommon-dev
```
### Compilation
```sh
./configure
make -j8
```
### Add the sources to `LD_LIBRARY_PATH`
```sh
. ./env
```
### Create symlinks to libs
```sh
make lib_links
```
---
Top : [KC3 Guides](./)
Next : [KC3 Testing Guide](3.2_Testing)