installing clang-format does not give me access to the tool

Asked by Michael Fulton

After executing `sudo apt install clang-format` it installs a package clang-format@6.0.
Trying to execute `clang-format --help` yields `clang-format: command not found`. I tried rebooting and attempting the command again as well.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu llvm-defaults Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Fulton
Solved:
Last query:
Last reply:
Revision history for this message
Michael Fulton (fultonm) said :
#1

You have to do `clang-format-6.0` to have access to the tool.

Revision history for this message
Michael Fulton (fultonm) said :
#2

You have to do `clang-format-6.0` to have access to the tool.