Skip to content

Instantly share code, notes, and snippets.

@greymd
Last active February 28, 2017 15:48
Show Gist options
  • Select an option

  • Save greymd/4483de16fe563d8ee8c2b57c1a247fc7 to your computer and use it in GitHub Desktop.

Select an option

Save greymd/4483de16fe563d8ee8c2b57c1a247fc7 to your computer and use it in GitHub Desktop.
Build curl on Linux
# CentOS
$ yum install autoconf automake libtool libtool-ltdl openssl-devel tar
$ curl -sL https://github.com/curl/curl/archive/curl-7_20_0.tar.gz | tar zxv
$ cd curl-curl-7_20_0/
$ ./buildconf
$ ./configure --enable-libcurl-option
$ make && make install
# Ubuntu
$ apt-get update
$ apt-get install -y autoconf libtool libssl-dev git make gcc wget
$ wget https://github.com/curl/curl/archive/curl-7_20_0.tar.gz -O- | tar zxv
# $ git clone https://github.com/curl/curl.git
# $ git checkout ${CURL_VERSION}
$ cd curl-curl-7_20_0
$ ./buildconf
$ ./configure --enable-libcurl-option
$ make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment