How To Install Llvm-clang In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Llvm-clang In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

llvm-clang

C, C++ and Objective-C compiler (LLVM based)

Maintainer: LLVM Packaging Team


Section: devel

Install llvm-clang

  • Debian apt-get install clang Click to copy
  • Ubuntu apt-get install clang-3.5 Click to copy
  • Alpine OS apk add clang Click to copy
  • Arch Linux pacman -S clang Click to copy
  • Kali Linux apt-get install clang Click to copy
  • CentOS yum install clang Click to copy
  • Fedora dnf install clang Click to copy
  • Raspbian apt-get install clang-3.2 Click to copy

clang-3.3

C, C++ and Objective-C compiler (LLVM based)

Clang project is a C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). Clang implements all of the ISO C++ 1998 and 2001 standards and also provides a partial support of C++1y.

clang

C, C++ and Objective-C compiler (LLVM based)

Clang project is a C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). Clang implements all of the ISO C++ 1998, 11 and 14 standards and also provides most of the support of C++17. This is a dependency package providing the default clang compiler.

clang-3.2

C, C++ and Objective-C compiler (LLVM based)

Clang project is a C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Some of its goals include the following: End-User Features: * Fast compiles and low memory use * Expressive diagnostics (examples) * GCC compatibility Utility and Applications: * Modular library based architecture * Support diverse clients (refactoring, static analysis, code generation, etc) * Allow tight integration with IDEs * Use the LLVM 'BSD' License Internal Design and Implementation: * A real-world, production quality compiler * A simple and hackable code base * A single unified parser for C, Objective C, C++, and Objective C++ * Conformance with C/C++/ObjC and their variants

clang-3.4

C, C++ and Objective-C compiler (LLVM based)

Clang project is a C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). Clang implements all of the ISO C++ 1998 and 2001 standards and also provides a partial support of C++1y.

clang-3.5

C, C++ and Objective-C compiler (LLVM based)

Clang project is a C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). Clang implements all of the ISO C++ 1998 and 2001 standards and also provides a partial support of C++1y.

Installing llvm-clang command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of llvm-clang 2026 package in your OS.