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

Asked by Michael Fulton on 2018-05-17

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:
2018-05-17
Last query:
2018-05-17
Last reply:
Michael Fulton (fultonm) said : #1

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

Michael Fulton (fultonm) said : #2

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