I am trying to install clang on ubuntu 18.04. I have done the following:

going to the source of llvm making a directory build and executed cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm command.

after executing that command when I executed make command I got the following error:

make: *** No targets specified and no makefile found. Stop.

can anyone help me?

  • 1
    Hacks like building everything you install from source won't help because your package management is hosed. You'll never be able to do much with your zombie operating system until you motivate yourself to fix your package management.
    – karel
    Jul 30, 2019 at 16:29

1 Answer 1


If you want install Clang then just run this command : sudo apt install clang


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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