I installed Clang 3.6 following the instructions here (the latest version in Ubuntu repository is 3.5):
# to retrieve the archive signature
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
# to install all packages
apt-get install clang-3.6 clang-3.6-doc libclang-common-3.6-dev libclang-3.6-dev libclang1-3.6 libclang1-3.6-dbg libllvm-3.6-ocaml-dev libllvm3.6 libllvm3.6-dbg lldb-3.6 llvm-3.6 llvm-3.6-dev llvm-3.6-doc llvm-3.6-examples llvm-3.6-runtime clang-modernize-3.6 clang-format-3.6 python-clang-3.6 lldb-3.6-dev
However, after the installation, man clang says
No manual entry for clang
See 'man 7 undocumented' for help when manual pages are not available.
but man clang-3.6 works. Also, neither man clang++ or man clang++-3.6 works. How do I make man clang and man clang++ work and open the man page as it is already in the system? I also want to use the commands clang and clang++ instead of clang-3.6 and clang++-3.6.