How To Install lld-devel on CentOS 8

lld-devel is Libraries and header files for LLD Libraries and header files for LLD

Introduction

In this tutorial we learn how to install lld-devel on CentOS 8.

What is lld-devel

This package contains library and header files needed to develop new native programs that use the LLD infrastructure. lld-devel 11.0.0 3.module_el8.4.0+587+5187cac0 x86_64 50 k lld-11.0.0-3.module_el8.4.0+587+5187cac0.src.rpm appstream Libraries and header files for LLD http NCSA This package contains library and header files needed to develop new native programs that use the LLD infrastructure.

We can use yum or dnf to install lld-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install lld-devel.

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

sudo dnf -y install lld-devel

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

sudo yum -y install lld-devel

How To Uninstall lld-devel on CentOS 8

To uninstall only the lld-devel package we can use the following command:

sudo dnf remove lld-devel

lld-devel Package Contents on CentOS 8

/usr/include/lld
/usr/include/lld/Common
/usr/include/lld/Common/Args.h
/usr/include/lld/Common/DWARF.h
/usr/include/lld/Common/Driver.h
/usr/include/lld/Common/ErrorHandler.h
/usr/include/lld/Common/Filesystem.h
/usr/include/lld/Common/LLVM.h
/usr/include/lld/Common/Memory.h
/usr/include/lld/Common/Reproduce.h
/usr/include/lld/Common/Strings.h
/usr/include/lld/Common/TargetOptionsCommandFlags.h
/usr/include/lld/Common/Timer.h
/usr/include/lld/Common/Version.h
/usr/include/lld/Core
/usr/include/lld/Core/AbsoluteAtom.h
/usr/include/lld/Core/ArchiveLibraryFile.h
/usr/include/lld/Core/Atom.h
/usr/include/lld/Core/DefinedAtom.h
/usr/include/lld/Core/Error.h
/usr/include/lld/Core/File.h
/usr/include/lld/Core/Instrumentation.h
/usr/include/lld/Core/LinkingContext.h
/usr/include/lld/Core/Node.h
/usr/include/lld/Core/Pass.h
/usr/include/lld/Core/PassManager.h
/usr/include/lld/Core/Reader.h
/usr/include/lld/Core/Reference.h
/usr/include/lld/Core/Resolver.h
/usr/include/lld/Core/SharedLibraryAtom.h
/usr/include/lld/Core/SharedLibraryFile.h
/usr/include/lld/Core/Simple.h
/usr/include/lld/Core/SymbolTable.h
/usr/include/lld/Core/UndefinedAtom.h
/usr/include/lld/Core/Writer.h
/usr/include/lld/ReaderWriter
/usr/include/lld/ReaderWriter/MachOLinkingContext.h
/usr/include/lld/ReaderWriter/YamlContext.h
/usr/lib/cmake/lld
/usr/lib/cmake/lld/LLDConfig.cmake
/usr/lib/cmake/lld/LLDTargets-noconfig.cmake
/usr/lib/cmake/lld/LLDTargets.cmake
/usr/lib/liblldCOFF.so
/usr/lib/liblldCommon.so
/usr/lib/liblldCore.so
/usr/lib/liblldDriver.so
/usr/lib/liblldELF.so
/usr/lib/liblldMachO.so
/usr/lib/liblldMachO2.so
/usr/lib/liblldMinGW.so
/usr/lib/liblldReaderWriter.so
/usr/lib/liblldWasm.so
/usr/lib/liblldYAML.so
/usr/include/lld
/usr/include/lld/Common
/usr/include/lld/Common/Args.h
/usr/include/lld/Common/DWARF.h
/usr/include/lld/Common/Driver.h
/usr/include/lld/Common/ErrorHandler.h
/usr/include/lld/Common/Filesystem.h
/usr/include/lld/Common/LLVM.h
/usr/include/lld/Common/Memory.h
/usr/include/lld/Common/Reproduce.h
/usr/include/lld/Common/Strings.h
/usr/include/lld/Common/TargetOptionsCommandFlags.h
/usr/include/lld/Common/Timer.h
/usr/include/lld/Common/Version.h
/usr/include/lld/Core
/usr/include/lld/Core/AbsoluteAtom.h
/usr/include/lld/Core/ArchiveLibraryFile.h
/usr/include/lld/Core/Atom.h
/usr/include/lld/Core/DefinedAtom.h
/usr/include/lld/Core/Error.h
/usr/include/lld/Core/File.h
/usr/include/lld/Core/Instrumentation.h
/usr/include/lld/Core/LinkingContext.h
/usr/include/lld/Core/Node.h
/usr/include/lld/Core/Pass.h
/usr/include/lld/Core/PassManager.h
/usr/include/lld/Core/Reader.h
/usr/include/lld/Core/Reference.h
/usr/include/lld/Core/Resolver.h
/usr/include/lld/Core/SharedLibraryAtom.h
/usr/include/lld/Core/SharedLibraryFile.h
/usr/include/lld/Core/Simple.h
/usr/include/lld/Core/SymbolTable.h
/usr/include/lld/Core/UndefinedAtom.h
/usr/include/lld/Core/Writer.h
/usr/include/lld/ReaderWriter
/usr/include/lld/ReaderWriter/MachOLinkingContext.h
/usr/include/lld/ReaderWriter/YamlContext.h
/usr/lib64/cmake/lld
/usr/lib64/cmake/lld/LLDConfig.cmake
/usr/lib64/cmake/lld/LLDTargets-noconfig.cmake
/usr/lib64/cmake/lld/LLDTargets.cmake
/usr/lib64/liblldCOFF.so
/usr/lib64/liblldCommon.so
/usr/lib64/liblldCore.so
/usr/lib64/liblldDriver.so
/usr/lib64/liblldELF.so
/usr/lib64/liblldMachO.so
/usr/lib64/liblldMachO2.so
/usr/lib64/liblldMinGW.so
/usr/lib64/liblldReaderWriter.so
/usr/lib64/liblldWasm.so
/usr/lib64/liblldYAML.so

References

Summary

In this tutorial we learn how to install lld-devel on CentOS 8 using yum and dnf.