Skip to content

Compile Curl

Tested on version 8.4.0

Git clone

Clone curl in a specific directory.

bash
git clone https://github.com/curl/curl.git

On centos7

Prefix is the directory where you want to install curl.

bash
cd curl
./configure --prefix=<GITHUB_PULL_DIR>/curl/build
make
make install

Then you can find curl in <GITHUB_PULL_DIR>/curl/build/bin/curl and you can use it directly, put theses binaries in rez package, etc.