How to change clang-10, llvm-10, etc to clang, llvm, etc.?
5
votes
0
answers
6766
views
I use **Spacemacs**, and installed
llvm-10, clnag-10, clangd-10
, and all related packages, in **Debian 10**.
Used the following command to install llvm
$ sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh) "
Then, **changed** clangd-10
to clangd
using the following command:
$ sudo update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-10 100
Now, how can I change the other packages like clang-10, llvm-10, lldb-10, lld-10
etc. to clang, llvm, lldb, lld
, etc.?
Because, I have to **compile** like $ clang-10 hello.c
instead of $ clang hello.c
Asked by tom_kp
(53 rep)
Jul 2, 2020, 12:54 AM
Last activity: Jul 2, 2020, 04:05 PM
Last activity: Jul 2, 2020, 04:05 PM