How To Install lld on Fedora 34
Introduction
In this tutorial we learn how to install lld
on Fedora 34.
What is lld
The LLVM project linker. lld 12.0.0 1.fc34 x86_64 29 k lld-12.0.0-1.fc34.src.rpm updates The LLVM Linker http NCSA The LLVM project linker.
We can use yum
or dnf
to install lld
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install lld.
Install lld on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install lld
using dnf
by running the following command:
sudo dnf -y install lld
Install lld on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install lld
using yum
by running the following command:
sudo yum -y install lld
How To Uninstall lld on Fedora 34
To uninstall only the lld
package we can use the following command:
sudo dnf remove lld
lld Package Contents on Fedora 34
/usr/bin/ld
/usr/bin/ld.lld
/usr/bin/ld64.lld
/usr/bin/ld64.lld.darwinnew
/usr/bin/lld
/usr/bin/lld-link
/usr/bin/wasm-ld
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/205707f3f24e01829f670eb0e9512a9d4fa127
/usr/share/licenses/lld
/usr/share/licenses/lld/LICENSE.TXT
/usr/bin/ld
/usr/bin/ld.lld
/usr/bin/ld64.lld
/usr/bin/ld64.lld.darwinnew
/usr/bin/lld
/usr/bin/lld-link
/usr/bin/wasm-ld
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/13e784e0d7ff88a5320e424b7d3b06cc3dd99c
/usr/share/licenses/lld
/usr/share/licenses/lld/LICENSE.TXT
/usr/bin/ld
/usr/bin/ld.lld
/usr/bin/ld64.lld
/usr/bin/ld64.lld.darwinnew
/usr/bin/lld
/usr/bin/lld-link
/usr/bin/wasm-ld
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/ff3fc2ac640cdfd68c7ffe25cff0d00c624838
/usr/share/licenses/lld
/usr/share/licenses/lld/LICENSE.TXT
/usr/bin/ld
/usr/bin/ld.lld
/usr/bin/ld64.lld
/usr/bin/ld64.lld.darwinnew
/usr/bin/lld
/usr/bin/lld-link
/usr/bin/wasm-ld
/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/8945d9b2b5f9d954c47e13d92ead92263d24e0
/usr/share/licenses/lld
/usr/share/licenses/lld/LICENSE.TXT
References
- [lld website](http://llvm.org http://llvm.org)
Summary
In this tutorial we learn how to install lld
on Fedora 34 using yum and dnf.