Skip to content

2. Install

Chiron edited this page May 14, 2026 · 7 revisions

To use centaur you need the following dependencies:

  • git (or something to clone this repo)
  • cmake
  • make
  • curl

To install

# Clone the repo
git clone https://github.com/Chiron8/centaur
cd centaur

# Create build directory
mkdir build
cd build

# Install
cmake ..
make
sudo cmake --install .

What's created?

  • centaur binary at /usr/bin/centaur
  • directory containing centaur files (learn more): /etc/centaur/packages/scripts
  • empty directory containing installed packages database: /etc/centaur/packages/installed
  • empty directory containing instructions to uninstall packages: /etc/centaur/packages/uninstall
  • empty directory containing temporary package files: /tmp/centaur
  • empty directory containing temporary files used by centaur*: /etc/centaur/tmp

*the reason for the extra tmp directory is that /tmp is stored in a ramdisk. Some C functions require files to be in the same partition. This does not affect temporary files used by .centaur files.

Clone this wiki locally