Aayush
Aayush

Reputation: 153

How to uninstall the exact LLVM and CLANG version on Linux

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?

Upvotes: 5

Views: 19665

Answers (1)

iamdhavalparmar
iamdhavalparmar

Reputation: 1218

  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.

Upvotes: 5

Related Questions