How To Install llvm-libs on CentOS 8

llvm-libs is LLVM shared libraries LLVM shared libraries

Introduction

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

What is llvm-libs

Shared libraries for the LLVM compiler infrastructure. llvm-libs 11.0.0 2.module_el8.4.0+587+5187cac0 x86_64 21 M llvm-11.0.0-2.module_el8.4.0+587+5187cac0.src.rpm appstream LLVM shared libraries http NCSA Shared libraries for the LLVM compiler infrastructure.

We can use yum or dnf to install llvm-libs on CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove llvm-libs

llvm-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/784ad53f5db0ee3fb965870e8988bab73c31d6
/usr/lib/.build-id/73
/usr/lib/.build-id/73/15dd2eea174a5de99d797e39c1b8014c599bcf
/usr/lib/.build-id/92
/usr/lib/.build-id/92/b626377bdf9f36e70bc66792281f080cf45f5f
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/f320bbe3cee8b8cc7db50095ebb3d55266336c
/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/61
/usr/lib/.build-id/61/6f09627ad95e5559f65fce0501259854024b1d
/usr/lib/.build-id/75
/usr/lib/.build-id/75/454340b8dcf943d1a53d4a01c92614632131d1
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/8ca717dd37d350884966ccdd68e6c49ac3c5e3
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/d537dc831fe8296d0498f1539f4fe4dbfa1ca3
/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 CentOS 8 using yum and dnf.