Cent icon

Installing from Source

Linux

1. Install build dependencies

Debian/Ubuntu:

$ sudo apt-get install -y build-essential cmake ninja-build git

Arch Linux:

$ sudo pacman -Syu cmake ninja gcc git

Void Linux:

$ sudo xbps-install -Syu cmake ninja gcc git

2. Clone

Clone the repository:

$ git clone https://github.com/centlang/cent && cd cent

3. Build and install

Build:

$ mkdir build && cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release -GNinja
$ ninja

Install:

$ sudo ninja install

4. Verify

Verify the installation:

$ centc --version
Cent v0.1