How To Install clang-libs on Rocky Linux 8

In this tutorial we learn how to install clang-libs on Rocky Linux 8. clang-libs is Runtime library for clang

Introduction

In this tutorial we learn how to install clang-libs on Rocky Linux 8.

What is clang-libs

Runtime library for clang.

We can use yum or dnf to install clang-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install clang-libs.

Install clang-libs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install clang-libs using dnf by running the following command:

sudo dnf -y install clang-libs

Install clang-libs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install clang-libs using yum by running the following command:

sudo yum -y install clang-libs

How To Uninstall clang-libs on Rocky Linux 8

To uninstall only the clang-libs package we can use the following command:

sudo dnf remove clang-libs

clang-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/6999381218e99dd75b70abf55401aa8147eb14
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/283097b0ce7a2851ff10be9305e265d84a913a
/usr/lib64/clang
/usr/lib64/clang/11
/usr/lib64/clang/11.0.0
/usr/lib64/clang/11.0.0/include
/usr/lib64/clang/11.0.0/include/__clang_cuda_builtin_vars.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_cmath.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_complex_builtins.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_device_functions.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_intrinsics.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_libdevice_declares.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_math.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_math_forward_declares.h
/usr/lib64/clang/11.0.0/include/__clang_cuda_runtime_wrapper.h
/usr/lib64/clang/11.0.0/include/__clang_hip_libdevice_declares.h
/usr/lib64/clang/11.0.0/include/__clang_hip_math.h
/usr/lib64/clang/11.0.0/include/__clang_hip_runtime_wrapper.h
/usr/lib64/clang/11.0.0/include/__stddef_max_align_t.h
/usr/lib64/clang/11.0.0/include/__wmmintrin_aes.h
/usr/lib64/clang/11.0.0/include/__wmmintrin_pclmul.h
/usr/lib64/clang/11.0.0/include/adxintrin.h
/usr/lib64/clang/11.0.0/include/altivec.h
/usr/lib64/clang/11.0.0/include/ammintrin.h
/usr/lib64/clang/11.0.0/include/amxintrin.h
/usr/lib64/clang/11.0.0/include/arm64intr.h
/usr/lib64/clang/11.0.0/include/arm_acle.h
/usr/lib64/clang/11.0.0/include/arm_bf16.h
/usr/lib64/clang/11.0.0/include/arm_cde.h
/usr/lib64/clang/11.0.0/include/arm_cmse.h
/usr/lib64/clang/11.0.0/include/arm_fp16.h
/usr/lib64/clang/11.0.0/include/arm_mve.h
/usr/lib64/clang/11.0.0/include/arm_neon.h
/usr/lib64/clang/11.0.0/include/arm_sve.h
/usr/lib64/clang/11.0.0/include/armintr.h
/usr/lib64/clang/11.0.0/include/avx2intrin.h
/usr/lib64/clang/11.0.0/include/avx512bf16intrin.h
/usr/lib64/clang/11.0.0/include/avx512bitalgintrin.h
/usr/lib64/clang/11.0.0/include/avx512bwintrin.h
/usr/lib64/clang/11.0.0/include/avx512cdintrin.h
/usr/lib64/clang/11.0.0/include/avx512dqintrin.h
/usr/lib64/clang/11.0.0/include/avx512erintrin.h
/usr/lib64/clang/11.0.0/include/avx512fintrin.h
/usr/lib64/clang/11.0.0/include/avx512ifmaintrin.h
/usr/lib64/clang/11.0.0/include/avx512ifmavlintrin.h
/usr/lib64/clang/11.0.0/include/avx512pfintrin.h
/usr/lib64/clang/11.0.0/include/avx512vbmi2intrin.h
/usr/lib64/clang/11.0.0/include/avx512vbmiintrin.h
/usr/lib64/clang/11.0.0/include/avx512vbmivlintrin.h
/usr/lib64/clang/11.0.0/include/avx512vlbf16intrin.h
/usr/lib64/clang/11.0.0/include/avx512vlbitalgintrin.h
/usr/lib64/clang/11.0.0/include/avx512vlbwintrin.h
/usr/lib64/clang/11.0.0/include/avx512vlcdintrin.h
/usr/lib64/clang/11.0.0/include/avx512vldqintrin.h
/usr/lib64/clang/11.0.0/include/avx512vlintrin.h
/usr/lib64/clang/11.0.0/include/avx512vlvbmi2intrin.h
/usr/lib64/clang/11.0.0/include/avx512vlvnniintrin.h
/usr/lib64/clang/11.0.0/include/avx512vlvp2intersectintrin.h
/usr/lib64/clang/11.0.0/include/avx512vnniintrin.h
/usr/lib64/clang/11.0.0/include/avx512vp2intersectintrin.h
/usr/lib64/clang/11.0.0/include/avx512vpopcntdqintrin.h
/usr/lib64/clang/11.0.0/include/avx512vpopcntdqvlintrin.h
/usr/lib64/clang/11.0.0/include/avxintrin.h
/usr/lib64/clang/11.0.0/include/bmi2intrin.h
/usr/lib64/clang/11.0.0/include/bmiintrin.h
/usr/lib64/clang/11.0.0/include/cet.h
/usr/lib64/clang/11.0.0/include/cetintrin.h
/usr/lib64/clang/11.0.0/include/cldemoteintrin.h
/usr/lib64/clang/11.0.0/include/clflushoptintrin.h
/usr/lib64/clang/11.0.0/include/clwbintrin.h
/usr/lib64/clang/11.0.0/include/clzerointrin.h
/usr/lib64/clang/11.0.0/include/cpuid.h
/usr/lib64/clang/11.0.0/include/cuda_wrappers
/usr/lib64/clang/11.0.0/include/cuda_wrappers/algorithm
/usr/lib64/clang/11.0.0/include/cuda_wrappers/complex
/usr/lib64/clang/11.0.0/include/cuda_wrappers/new
/usr/lib64/clang/11.0.0/include/emmintrin.h
/usr/lib64/clang/11.0.0/include/enqcmdintrin.h
/usr/lib64/clang/11.0.0/include/f16cintrin.h
/usr/lib64/clang/11.0.0/include/float.h
/usr/lib64/clang/11.0.0/include/fma4intrin.h
/usr/lib64/clang/11.0.0/include/fmaintrin.h
/usr/lib64/clang/11.0.0/include/fxsrintrin.h
/usr/lib64/clang/11.0.0/include/gfniintrin.h
/usr/lib64/clang/11.0.0/include/htmintrin.h
/usr/lib64/clang/11.0.0/include/htmxlintrin.h
/usr/lib64/clang/11.0.0/include/ia32intrin.h
/usr/lib64/clang/11.0.0/include/immintrin.h
/usr/lib64/clang/11.0.0/include/intrin.h
/usr/lib64/clang/11.0.0/include/inttypes.h
/usr/lib64/clang/11.0.0/include/invpcidintrin.h
/usr/lib64/clang/11.0.0/include/iso646.h
/usr/lib64/clang/11.0.0/include/limits.h
/usr/lib64/clang/11.0.0/include/lwpintrin.h
/usr/lib64/clang/11.0.0/include/lzcntintrin.h
/usr/lib64/clang/11.0.0/include/mm3dnow.h
/usr/lib64/clang/11.0.0/include/mm_malloc.h
/usr/lib64/clang/11.0.0/include/mmintrin.h
/usr/lib64/clang/11.0.0/include/module.modulemap
/usr/lib64/clang/11.0.0/include/movdirintrin.h
/usr/lib64/clang/11.0.0/include/msa.h
/usr/lib64/clang/11.0.0/include/mwaitxintrin.h
/usr/lib64/clang/11.0.0/include/nmmintrin.h
/usr/lib64/clang/11.0.0/include/opencl-c-base.h
/usr/lib64/clang/11.0.0/include/opencl-c.h
/usr/lib64/clang/11.0.0/include/openmp_wrappers
/usr/lib64/clang/11.0.0/include/openmp_wrappers/__clang_openmp_device_functions.h
/usr/lib64/clang/11.0.0/include/openmp_wrappers/cmath
/usr/lib64/clang/11.0.0/include/openmp_wrappers/complex
/usr/lib64/clang/11.0.0/include/openmp_wrappers/complex.h
/usr/lib64/clang/11.0.0/include/openmp_wrappers/math.h
/usr/lib64/clang/11.0.0/include/openmp_wrappers/new
/usr/lib64/clang/11.0.0/include/pconfigintrin.h
/usr/lib64/clang/11.0.0/include/pkuintrin.h
/usr/lib64/clang/11.0.0/include/pmmintrin.h
/usr/lib64/clang/11.0.0/include/popcntintrin.h
/usr/lib64/clang/11.0.0/include/ppc_wrappers
/usr/lib64/clang/11.0.0/include/ppc_wrappers/emmintrin.h
/usr/lib64/clang/11.0.0/include/ppc_wrappers/mm_malloc.h
/usr/lib64/clang/11.0.0/include/ppc_wrappers/mmintrin.h
/usr/lib64/clang/11.0.0/include/ppc_wrappers/pmmintrin.h
/usr/lib64/clang/11.0.0/include/ppc_wrappers/smmintrin.h
/usr/lib64/clang/11.0.0/include/ppc_wrappers/tmmintrin.h
/usr/lib64/clang/11.0.0/include/ppc_wrappers/xmmintrin.h
/usr/lib64/clang/11.0.0/include/prfchwintrin.h
/usr/lib64/clang/11.0.0/include/ptwriteintrin.h
/usr/lib64/clang/11.0.0/include/rdseedintrin.h
/usr/lib64/clang/11.0.0/include/rtmintrin.h
/usr/lib64/clang/11.0.0/include/s390intrin.h
/usr/lib64/clang/11.0.0/include/serializeintrin.h
/usr/lib64/clang/11.0.0/include/sgxintrin.h
/usr/lib64/clang/11.0.0/include/shaintrin.h
/usr/lib64/clang/11.0.0/include/smmintrin.h
/usr/lib64/clang/11.0.0/include/stdalign.h
/usr/lib64/clang/11.0.0/include/stdarg.h
/usr/lib64/clang/11.0.0/include/stdatomic.h
/usr/lib64/clang/11.0.0/include/stdbool.h
/usr/lib64/clang/11.0.0/include/stddef.h
/usr/lib64/clang/11.0.0/include/stdint.h
/usr/lib64/clang/11.0.0/include/stdnoreturn.h
/usr/lib64/clang/11.0.0/include/tbmintrin.h
/usr/lib64/clang/11.0.0/include/tgmath.h
/usr/lib64/clang/11.0.0/include/tmmintrin.h
/usr/lib64/clang/11.0.0/include/tsxldtrkintrin.h
/usr/lib64/clang/11.0.0/include/unwind.h
/usr/lib64/clang/11.0.0/include/vadefs.h
/usr/lib64/clang/11.0.0/include/vaesintrin.h
/usr/lib64/clang/11.0.0/include/varargs.h
/usr/lib64/clang/11.0.0/include/vecintrin.h
/usr/lib64/clang/11.0.0/include/vpclmulqdqintrin.h
/usr/lib64/clang/11.0.0/include/waitpkgintrin.h
/usr/lib64/clang/11.0.0/include/wasm_simd128.h
/usr/lib64/clang/11.0.0/include/wbnoinvdintrin.h
/usr/lib64/clang/11.0.0/include/wmmintrin.h
/usr/lib64/clang/11.0.0/include/x86intrin.h
/usr/lib64/clang/11.0.0/include/xmmintrin.h
/usr/lib64/clang/11.0.0/include/xopintrin.h
/usr/lib64/clang/11.0.0/include/xsavecintrin.h
/usr/lib64/clang/11.0.0/include/xsaveintrin.h
/usr/lib64/clang/11.0.0/include/xsaveoptintrin.h
/usr/lib64/clang/11.0.0/include/xsavesintrin.h
/usr/lib64/clang/11.0.0/include/xtestintrin.h
/usr/lib64/libclang-cpp.so.11
/usr/lib64/libclang.so.11
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/c6909a1dfe2ace448eb0a8fa673244096fdaf2
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/df35a851532dae5d7f889c2a30cd2aa5424706
/usr/lib/clang
/usr/lib/clang/11
/usr/lib/clang/11.0.0
/usr/lib/clang/11.0.0/include
/usr/lib/clang/11.0.0/include/__clang_cuda_builtin_vars.h
/usr/lib/clang/11.0.0/include/__clang_cuda_cmath.h
/usr/lib/clang/11.0.0/include/__clang_cuda_complex_builtins.h
/usr/lib/clang/11.0.0/include/__clang_cuda_device_functions.h
/usr/lib/clang/11.0.0/include/__clang_cuda_intrinsics.h
/usr/lib/clang/11.0.0/include/__clang_cuda_libdevice_declares.h
/usr/lib/clang/11.0.0/include/__clang_cuda_math.h
/usr/lib/clang/11.0.0/include/__clang_cuda_math_forward_declares.h
/usr/lib/clang/11.0.0/include/__clang_cuda_runtime_wrapper.h
/usr/lib/clang/11.0.0/include/__clang_hip_libdevice_declares.h
/usr/lib/clang/11.0.0/include/__clang_hip_math.h
/usr/lib/clang/11.0.0/include/__clang_hip_runtime_wrapper.h
/usr/lib/clang/11.0.0/include/__stddef_max_align_t.h
/usr/lib/clang/11.0.0/include/__wmmintrin_aes.h
/usr/lib/clang/11.0.0/include/__wmmintrin_pclmul.h
/usr/lib/clang/11.0.0/include/adxintrin.h
/usr/lib/clang/11.0.0/include/altivec.h
/usr/lib/clang/11.0.0/include/ammintrin.h
/usr/lib/clang/11.0.0/include/amxintrin.h
/usr/lib/clang/11.0.0/include/arm64intr.h
/usr/lib/clang/11.0.0/include/arm_acle.h
/usr/lib/clang/11.0.0/include/arm_bf16.h
/usr/lib/clang/11.0.0/include/arm_cde.h
/usr/lib/clang/11.0.0/include/arm_cmse.h
/usr/lib/clang/11.0.0/include/arm_fp16.h
/usr/lib/clang/11.0.0/include/arm_mve.h
/usr/lib/clang/11.0.0/include/arm_neon.h
/usr/lib/clang/11.0.0/include/arm_sve.h
/usr/lib/clang/11.0.0/include/armintr.h
/usr/lib/clang/11.0.0/include/avx2intrin.h
/usr/lib/clang/11.0.0/include/avx512bf16intrin.h
/usr/lib/clang/11.0.0/include/avx512bitalgintrin.h
/usr/lib/clang/11.0.0/include/avx512bwintrin.h
/usr/lib/clang/11.0.0/include/avx512cdintrin.h
/usr/lib/clang/11.0.0/include/avx512dqintrin.h
/usr/lib/clang/11.0.0/include/avx512erintrin.h
/usr/lib/clang/11.0.0/include/avx512fintrin.h
/usr/lib/clang/11.0.0/include/avx512ifmaintrin.h
/usr/lib/clang/11.0.0/include/avx512ifmavlintrin.h
/usr/lib/clang/11.0.0/include/avx512pfintrin.h
/usr/lib/clang/11.0.0/include/avx512vbmi2intrin.h
/usr/lib/clang/11.0.0/include/avx512vbmiintrin.h
/usr/lib/clang/11.0.0/include/avx512vbmivlintrin.h
/usr/lib/clang/11.0.0/include/avx512vlbf16intrin.h
/usr/lib/clang/11.0.0/include/avx512vlbitalgintrin.h
/usr/lib/clang/11.0.0/include/avx512vlbwintrin.h
/usr/lib/clang/11.0.0/include/avx512vlcdintrin.h
/usr/lib/clang/11.0.0/include/avx512vldqintrin.h
/usr/lib/clang/11.0.0/include/avx512vlintrin.h
/usr/lib/clang/11.0.0/include/avx512vlvbmi2intrin.h
/usr/lib/clang/11.0.0/include/avx512vlvnniintrin.h
/usr/lib/clang/11.0.0/include/avx512vlvp2intersectintrin.h
/usr/lib/clang/11.0.0/include/avx512vnniintrin.h
/usr/lib/clang/11.0.0/include/avx512vp2intersectintrin.h
/usr/lib/clang/11.0.0/include/avx512vpopcntdqintrin.h
/usr/lib/clang/11.0.0/include/avx512vpopcntdqvlintrin.h
/usr/lib/clang/11.0.0/include/avxintrin.h
/usr/lib/clang/11.0.0/include/bmi2intrin.h
/usr/lib/clang/11.0.0/include/bmiintrin.h
/usr/lib/clang/11.0.0/include/cet.h
/usr/lib/clang/11.0.0/include/cetintrin.h
/usr/lib/clang/11.0.0/include/cldemoteintrin.h
/usr/lib/clang/11.0.0/include/clflushoptintrin.h
/usr/lib/clang/11.0.0/include/clwbintrin.h
/usr/lib/clang/11.0.0/include/clzerointrin.h
/usr/lib/clang/11.0.0/include/cpuid.h
/usr/lib/clang/11.0.0/include/cuda_wrappers
/usr/lib/clang/11.0.0/include/cuda_wrappers/algorithm
/usr/lib/clang/11.0.0/include/cuda_wrappers/complex
/usr/lib/clang/11.0.0/include/cuda_wrappers/new
/usr/lib/clang/11.0.0/include/emmintrin.h
/usr/lib/clang/11.0.0/include/enqcmdintrin.h
/usr/lib/clang/11.0.0/include/f16cintrin.h
/usr/lib/clang/11.0.0/include/float.h
/usr/lib/clang/11.0.0/include/fma4intrin.h
/usr/lib/clang/11.0.0/include/fmaintrin.h
/usr/lib/clang/11.0.0/include/fxsrintrin.h
/usr/lib/clang/11.0.0/include/gfniintrin.h
/usr/lib/clang/11.0.0/include/htmintrin.h
/usr/lib/clang/11.0.0/include/htmxlintrin.h
/usr/lib/clang/11.0.0/include/ia32intrin.h
/usr/lib/clang/11.0.0/include/immintrin.h
/usr/lib/clang/11.0.0/include/intrin.h
/usr/lib/clang/11.0.0/include/inttypes.h
/usr/lib/clang/11.0.0/include/invpcidintrin.h
/usr/lib/clang/11.0.0/include/iso646.h
/usr/lib/clang/11.0.0/include/limits.h
/usr/lib/clang/11.0.0/include/lwpintrin.h
/usr/lib/clang/11.0.0/include/lzcntintrin.h
/usr/lib/clang/11.0.0/include/mm3dnow.h
/usr/lib/clang/11.0.0/include/mm_malloc.h
/usr/lib/clang/11.0.0/include/mmintrin.h
/usr/lib/clang/11.0.0/include/module.modulemap
/usr/lib/clang/11.0.0/include/movdirintrin.h
/usr/lib/clang/11.0.0/include/msa.h
/usr/lib/clang/11.0.0/include/mwaitxintrin.h
/usr/lib/clang/11.0.0/include/nmmintrin.h
/usr/lib/clang/11.0.0/include/opencl-c-base.h
/usr/lib/clang/11.0.0/include/opencl-c.h
/usr/lib/clang/11.0.0/include/openmp_wrappers
/usr/lib/clang/11.0.0/include/openmp_wrappers/__clang_openmp_device_functions.h
/usr/lib/clang/11.0.0/include/openmp_wrappers/cmath
/usr/lib/clang/11.0.0/include/openmp_wrappers/complex
/usr/lib/clang/11.0.0/include/openmp_wrappers/complex.h
/usr/lib/clang/11.0.0/include/openmp_wrappers/math.h
/usr/lib/clang/11.0.0/include/openmp_wrappers/new
/usr/lib/clang/11.0.0/include/pconfigintrin.h
/usr/lib/clang/11.0.0/include/pkuintrin.h
/usr/lib/clang/11.0.0/include/pmmintrin.h
/usr/lib/clang/11.0.0/include/popcntintrin.h
/usr/lib/clang/11.0.0/include/ppc_wrappers
/usr/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h
/usr/lib/clang/11.0.0/include/ppc_wrappers/mm_malloc.h
/usr/lib/clang/11.0.0/include/ppc_wrappers/mmintrin.h
/usr/lib/clang/11.0.0/include/ppc_wrappers/pmmintrin.h
/usr/lib/clang/11.0.0/include/ppc_wrappers/smmintrin.h
/usr/lib/clang/11.0.0/include/ppc_wrappers/tmmintrin.h
/usr/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h
/usr/lib/clang/11.0.0/include/prfchwintrin.h
/usr/lib/clang/11.0.0/include/ptwriteintrin.h
/usr/lib/clang/11.0.0/include/rdseedintrin.h
/usr/lib/clang/11.0.0/include/rtmintrin.h
/usr/lib/clang/11.0.0/include/s390intrin.h
/usr/lib/clang/11.0.0/include/serializeintrin.h
/usr/lib/clang/11.0.0/include/sgxintrin.h
/usr/lib/clang/11.0.0/include/shaintrin.h
/usr/lib/clang/11.0.0/include/smmintrin.h
/usr/lib/clang/11.0.0/include/stdalign.h
/usr/lib/clang/11.0.0/include/stdarg.h
/usr/lib/clang/11.0.0/include/stdatomic.h
/usr/lib/clang/11.0.0/include/stdbool.h
/usr/lib/clang/11.0.0/include/stddef.h
/usr/lib/clang/11.0.0/include/stdint.h
/usr/lib/clang/11.0.0/include/stdnoreturn.h
/usr/lib/clang/11.0.0/include/tbmintrin.h
/usr/lib/clang/11.0.0/include/tgmath.h
/usr/lib/clang/11.0.0/include/tmmintrin.h
/usr/lib/clang/11.0.0/include/tsxldtrkintrin.h
/usr/lib/clang/11.0.0/include/unwind.h
/usr/lib/clang/11.0.0/include/vadefs.h
/usr/lib/clang/11.0.0/include/vaesintrin.h
/usr/lib/clang/11.0.0/include/varargs.h
/usr/lib/clang/11.0.0/include/vecintrin.h
/usr/lib/clang/11.0.0/include/vpclmulqdqintrin.h
/usr/lib/clang/11.0.0/include/waitpkgintrin.h
/usr/lib/clang/11.0.0/include/wasm_simd128.h
/usr/lib/clang/11.0.0/include/wbnoinvdintrin.h
/usr/lib/clang/11.0.0/include/wmmintrin.h
/usr/lib/clang/11.0.0/include/x86intrin.h
/usr/lib/clang/11.0.0/include/xmmintrin.h
/usr/lib/clang/11.0.0/include/xopintrin.h
/usr/lib/clang/11.0.0/include/xsavecintrin.h
/usr/lib/clang/11.0.0/include/xsaveintrin.h
/usr/lib/clang/11.0.0/include/xsaveoptintrin.h
/usr/lib/clang/11.0.0/include/xsavesintrin.h
/usr/lib/clang/11.0.0/include/xtestintrin.h
/usr/lib/libclang-cpp.so.11
/usr/lib/libclang.so.11

References

Summary

In this tutorial we learn how to install clang-libs on Rocky Linux 8 using yum and dnf.