How to install llvm-toolset on my RHEL system?

Solution In Progress - Updated -


  • Red Hat Enterprise Linux (RHEL) 7.x
  • Red Hat Developer Toolset


  • How to get access to "llvm-toolset" so we can make it available for our development team?
  • Where can I find the "llvm-toolset" package to install it using yum?


llvm-toolset-7 is a meta-package that will pull in the llvm, clang, clang-tools-extra, and lldb packages.
llvm-toolset-7 is available in the rhel-7-server-devtools-rpms repository for RHEL 7.
For that you need to have the "Red Hat Enterprise Linux Developer Suite" subscription in your account to have access to the repository.

  1. First attach the "Red Hat Enterprise Linux Developer Suite" subscription to this system to have access to the repository:

    # subscription-manager list --available --all
    # subscription-manager attach --pool=<RHSCL-POOL-ID>

    Note: Kindly select POOL_ID of the RHSCL/Developer subscription.

  2. Now you can use subscription manager to enable the repository, then yum to install it.

    # subscription-manager repos --enable rhel-7-server-devtools-rpms
    # yum install llvm-toolset-7
  3. To start using llvm-toolset-7 type the following at shell prompt:

    # scl enable llvm-toolset-7 bash

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.


First and foremost, thank you for your guides there are helpful. One more thing can help new users (or somehow old users) is giving examples, for instance in " How to install llvm-toolset on my RHEL system? ", command "# subscription-manager attach --pool=" instead of adding Note.