How To Install llvm-libs on Rocky Linux 8

In this tutorial we learn how to install llvm-libs on Rocky Linux 8. llvm-libs is LLVM shared libraries

Introduction

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

What is llvm-libs

Shared libraries for the LLVM compiler infrastructure.

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

Install llvm-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 llvm-libs using dnf by running the following command:

sudo dnf -y install llvm-libs

Install llvm-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 llvm-libs using yum by running the following command:

sudo yum -y install llvm-libs

How To Uninstall llvm-libs on Rocky Linux 8

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

sudo dnf remove llvm-libs

llvm-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/00/7543b4ea7dc91a48c88856a41b1bb87a9ab08c
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/da05302aead7438129d3bbc1b8407207d22fb7
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/7e8715cb80cee1238ee411848275a4ba19ab25
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/0d3cb91038dd7bf0c79fe92ede7364ba81befc
/usr/lib64/LLVMgold.so
/usr/lib64/bfd-plugins/LLVMgold.so
/usr/lib64/libLLVM-11.0.0.so
/usr/lib64/libLLVM-11.so
/usr/lib64/libLTO.so
/usr/lib64/libLTO.so.11
/usr/lib64/libRemarks.so
/usr/lib64/libRemarks.so.11
/usr/share/licenses/llvm-libs
/usr/share/licenses/llvm-libs/LICENSE.TXT
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/e624bfd0cf9717d28ee706f8a2a444e94d0f7c
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/a85be2ce393f5e716ef3c6476514855d573284
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/b5e0eed3e9e61b5a414dc9987fc8882d6b6a9a
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/941cb3d213831e1d7a89c101949a4e187cb3c5
/usr/lib/LLVMgold.so
/usr/lib/bfd-plugins/LLVMgold.so
/usr/lib/libLLVM-11.0.0.so
/usr/lib/libLLVM-11.so
/usr/lib/libLTO.so
/usr/lib/libLTO.so.11
/usr/lib/libRemarks.so
/usr/lib/libRemarks.so.11
/usr/share/licenses/llvm-libs
/usr/share/licenses/llvm-libs/LICENSE.TXT

References

Summary

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