How To Install lld-devel on Rocky Linux 8

In this tutorial we learn how to install lld-devel on Rocky Linux 8. lld-devel is Libraries and header files for LLD

Introduction

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

What is lld-devel

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

sudo dnf -y install lld-devel

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

sudo yum -y install lld-devel

How To Uninstall lld-devel on Rocky Linux 8

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

sudo dnf remove lld-devel

lld-devel Package Contents on Rocky Linux 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 Rocky Linux 8 using yum and dnf.