Question

Install git on ubunt - make: *** No rule to make target `all'. Stop.

  • Posted on February 25, 2015
  • khoulyAsked by khouly

I followed this link to install git Install git on ubntu and I got stuck at this part:

Now, you can make the package and install it by typing these two commands:

make prefix=/usr/local all sudo make prefix=/usr/local install

I keep getting this error: make: *** No rule to make target `all’. Stop.

What’s the cause of this issue?!

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

make: *** No rule to make target `all'.  Stop.

Generally an error like that would suggest that you are not in the correct directory. Is there a file named Makefile in your current directory?

Though as @gp+digitalocean suggests, simply running sudo apt-get install git will install git for you without having to build it from source.