Installation on Linux

This section describes how to build and install libcpr on Linux platforms.

From the source repository

$ git clone https://github.com/dryproject/libcpr.git
$ cd libcpr
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

From a source tarball

$ ./configure
$ make
$ sudo make install
$ sudo ldconfig

On Debian or Ubuntu Linux

For now, use the tarball instructions (see previous subsection) to install.

On Fedora or RHEL

For now, use the tarball instructions (see previous subsection) to install.

On Gentoo Linux

For now, use the tarball instructions (see previous subsection) to install.