KC3 installation

From binary package if available

There are binary packages for :

  • Debian Trixie
  • OpenBSD 7.7
  • Windows 64 bits

Binary package repository for Debian Trixie (stable)

  1. Add the kmx.io Debian repository to your sources:
echo "deb https://debian.kmx.io/debian stable main" | sudo tee /etc/apt/sources.list.d/kc3.list
  1. Add the GPG signing public key to apt keyring:
wget -qO - https://debian.kmx.io/debian/kmx-io.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/kmx-io.gpg
  1. Update and install:
sudo apt update
sudo apt install kc3

Binary package for Windows and OpenBSD

See KC3 release v0.1.15 on the main KC3 release site for downloads and checksums.

From sources

From git

From kmx.io git forge

git clone https://git.kmx.io/kc3-lang/kc3.git

From Github

git clone https://github/kc3-lang/kc3.git

Clone submodules also

cd kc3
git submodule init
git submodule update
cd fonts
git submodule init
git submodule update
cd ..

Install from sources

Install dependencies

kmx.io/runj

git clone https://git.kmx.io/kmx.io/runj.git && cd runj
./configure && make && sudo make install

kmx.io/sort

git clone https://git.kmx.io/kmx.io/sort.git && cd sort
./configure && make && sudo make install

Debian / Ubuntu / PopOS / Mint

# 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-x11-dev

Compilation

./configure
make -j8

Add the sources to LD_LIBRARY_PATH

. ./env

Create symlinks to libs

make lib_links

Top : KC3 Guides

Next : KC3 Testing Guide