How to uninstall the exact LLVM and CLANG version on Linux

Viewed 5320

There are multiple LLVM versions present on some Unix nodes in my organization i.e.

3.8, 5.0, and 6.0

I only want to uninstall LLVM 6.0 version without affecting the other 2 versions. Same is the case for CLANG as well.

How can I do it?

1 Answers
  1. Use sudo apt-get purge llvm-6.0 clang-6.0 to completely remove LLVM and clang from your system.

  2. Optional) Use sudo add-apt-repository --remove ppa:kxstudio-team/builds to remove the PPA from your system.

Related