How To Install lldb on Fedora 34
Introduction
In this tutorial we learn how to install lldb
on Fedora 34.
What is lldb
LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler. lldb 12.0.0 3.fc34 x86_64 5.0 M lldb-12.0.0-3.fc34.src.rpm updates Next generation high-performance debugger http NCSA LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.
We can use yum
or dnf
to install lldb
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install lldb.
Install lldb 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 lldb
using dnf
by running the following command:
sudo dnf -y install lldb
Install lldb 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 lldb
using yum
by running the following command:
sudo yum -y install lldb
How To Uninstall lldb on Fedora 34
To uninstall only the lldb
package we can use the following command:
sudo dnf remove lldb
lldb Package Contents on Fedora 34
/usr/bin/lldb
/usr/bin/lldb-argdumper
/usr/bin/lldb-instr
/usr/bin/lldb-server
/usr/bin/lldb-vscode
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/628073046e750232b981ce6b340911086c228a
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/f891fd4f99d72aaeb05e277541b0a4a7c2da65
/usr/lib/.build-id/35
/usr/lib/.build-id/35/45bf18f3ab9b0b30fca029552586b42de51dda
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/1b34cd7eabe056e848c3b8723fda35e03a5aef
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/c819b680bded583ab76eb1773c0bec2cabaa85
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/53ac06fa94866871c58f64a802763f548df741
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/f175c96293acdfe36c5577647edb4a9a74be88
/usr/lib/liblldb.so.12
/usr/lib/liblldb.so.12.0.0
/usr/lib/liblldbIntelFeatures.so.12
/usr/share/licenses/lldb
/usr/share/licenses/lldb/LICENSE.TXT
/usr/bin/lldb
/usr/bin/lldb-argdumper
/usr/bin/lldb-instr
/usr/bin/lldb-server
/usr/bin/lldb-vscode
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/16657a3d6fdfed32ca0eecdd29278e2457dd42
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/e2d5b92a1b06ea01b6d9c0aed2e9a82ff62e13
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/445147eecfc72e310919dfc3998c1840b2c361
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/acbe9032c695acb0b255c4f098dfc464477c69
/usr/lib/.build-id/98
/usr/lib/.build-id/98/13d5e9b050d905009e118f99d30eb6ad2e70db
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/15196ff7fee262fe04dbdccaadedb94bf7a927
/usr/lib/.build-id/da
/usr/lib/.build-id/da/b8d3adde4650dff2ddf1d4e9bd933f745f5c02
/usr/lib/liblldb.so.12
/usr/lib/liblldb.so.12.0.0
/usr/lib/liblldbIntelFeatures.so.12
/usr/share/licenses/lldb
/usr/share/licenses/lldb/LICENSE.TXT
/usr/bin/lldb
/usr/bin/lldb-argdumper
/usr/bin/lldb-instr
/usr/bin/lldb-server
/usr/bin/lldb-vscode
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/284fd621cc7a7c2266f5ae3629ade4a45ea9a6
/usr/lib/.build-id/34
/usr/lib/.build-id/34/d6608d65318c12da49f42d8bc3db8b836f0582
/usr/lib/.build-id/45
/usr/lib/.build-id/45/57b11fbecf7555c022f3f393892e86dad4feca
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/f0c22fc00bef1eaaeccc8e4d12fc0d7004f067
/usr/lib/.build-id/50
/usr/lib/.build-id/50/0398e9237ef73636c42bb48c9351997e09919d
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/eb0bc28e62129cb8f2abdc7234616084c949ef
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/6110fccc24d9ad51d607c27525183f6f8dab04
/usr/lib64/liblldb.so.12
/usr/lib64/liblldb.so.12.0.0
/usr/lib64/liblldbIntelFeatures.so.12
/usr/share/licenses/lldb
/usr/share/licenses/lldb/LICENSE.TXT
/usr/bin/lldb
/usr/bin/lldb-argdumper
/usr/bin/lldb-instr
/usr/bin/lldb-server
/usr/bin/lldb-vscode
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/57884563a0311feb4247ef2344b8717eef1b7b
/usr/lib/.build-id/33
/usr/lib/.build-id/33/50e720474f217aa4d2c2d4d294bcc54e918b68
/usr/lib/.build-id/48
/usr/lib/.build-id/48/8d88ff9573135a7e750a83fbc99536807f40e2
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/9a9f7eca4cf670bbdea003e6041aa760aa3752
/usr/lib/.build-id/67
/usr/lib/.build-id/67/97b248ff7fea2ce67df367904b29f7e89024f4
/usr/lib/.build-id/74
/usr/lib/.build-id/74/28e3ac990761544290d1eba910ba929efec390
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/fd229279aec467c75166db0a1c34d16dfbe461
/usr/lib64/liblldb.so.12
/usr/lib64/liblldb.so.12.0.0
/usr/lib64/liblldbIntelFeatures.so.12
/usr/share/licenses/lldb
/usr/share/licenses/lldb/LICENSE.TXT
References
- [lldb website](http://lldb.llvm.org/ http://lldb.llvm.org/)
Summary
In this tutorial we learn how to install lldb
on Fedora 34 using yum and dnf.