Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I do not have root access on my Ubuntu but want to install git. I was following this tutorial but when running make or make install it says curl is not installed.

Can I use wget instead if this is a make config setting?

share|improve this question
up vote 3 down vote accepted

No, but you could build Git without the Curl dependency on libcurl. It will disable features. Remember that wget is just a binary, whereas Curl provides a shared library as well and that is used by Git. Three options here:

  • ./configure Git with the option --without-curl. Docs say:

    --with-curl        support http(s):// transports (default is YES)
                       ARG can be also prefix for curl library and headers
  • You could install your own libcurl, configure it with a non-standard --prefix= path and let Git link to that path instead of a system-wide library path. It's is probably going to cost quite some effort if you're not comfortable compiling manually.

  • It will be a lot easier however if you ask the administrator of that machine to install the git package.
share|improve this answer
Also, Git can be built without libcurl, though it will lack support for http: and https: protocols (maybe local, git:, and SSH-based access will suffice): make NO_CURL=1 or echo NO_CURL=1 >> config.mak ; make. – Chris Johnsen Nov 27 '12 at 3:34
@ChrisJohnsen Great suggestion. Updated my answer. – gertvdijk Nov 27 '12 at 8:39
Thanks for the answer! – Shlomo Goldstein Nov 27 '12 at 11:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.