Skip to content
Stephen Mathieson edited this page Jul 20, 2022 · 15 revisions

Clib

Clib is the Package manager for the C programming language. Basically is a suite of small C libraries that you can manually copy/paste into your projects, aimed at providing small, focused, discoverable “micro-libraries”.

Resources

Installation

Expects libcurl to be installed and linkable.

With homebrew:

$ brew install clib

With git:

$ git clone https://github.com/clibs/clib.git /tmp/clib
$ cd /tmp/clib
$ make install

Ubuntu:

# install libcurl
$ sudo apt-get install libcurl4-gnutls-dev -qq
# clone
$ git clone https://github.com/clibs/clib.git /tmp/clib && cd /tmp/clib
# build
$ make
# put on path
$ sudo make install

With Docker:

$ docker pull abranhe/clib

Help

Articles