How To Install lldb on CentOS 8
Introduction
In this tutorial we learn how to install lldb
on CentOS 8.
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 11.0.0 1.module_el8.4.0+587+5187cac0 x86_64 6.3 M lldb-11.0.0-1.module_el8.4.0+587+5187cac0.src.rpm appstream 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install lldb.
Install lldb 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 lldb
using dnf
by running the following command:
sudo dnf -y install lldb
Install lldb 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 lldb
using yum
by running the following command:
sudo yum -y install lldb
How To Uninstall lldb on CentOS 8
To uninstall only the lldb
package we can use the following command:
sudo dnf remove lldb
lldb Package Contents on CentOS 8
/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/04
/usr/lib/.build-id/04/d221338e0e3d8c50c7c2557cbcecff16a17d4c
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/da773dd5b631991019a4473cfe5db00487c13a
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/85a1fadc931cfaeaeb6b75a0e8de8e5b8f9251
/usr/lib/.build-id/56
/usr/lib/.build-id/56/086b5e53400662c901a61467441ee265c16548
/usr/lib/.build-id/85
/usr/lib/.build-id/85/ee92d0beed23415f37ae45606cf5531d25c642
/usr/lib/.build-id/97
/usr/lib/.build-id/97/f0d25f7562f8416338814f134293e5713d0901
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/f4b36a0648a73485c479311c28d62bca3cc796
/usr/lib64/liblldb.so.11
/usr/lib64/liblldb.so.11.0.0
/usr/lib64/liblldbIntelFeatures.so.11
/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/18
/usr/lib/.build-id/18/ed546df096fef22318bf3298131fce45436da5
/usr/lib/.build-id/34
/usr/lib/.build-id/34/72810baf9a42aaa9792fb82015d2dab44bfb9b
/usr/lib/.build-id/44
/usr/lib/.build-id/44/3add635c1b06f54954ba7d341a8dbafba06e05
/usr/lib/.build-id/66
/usr/lib/.build-id/66/7f59d04705d689b32310a79e913742e790f418
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/74e8655dc12e38c93e29e3ca451333d5d8f8cc
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/3a91deb16825ff467a1edbe7771f7441f9919d
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/df6d7a24e612c8b42cd35833a94d1f248288ab
/usr/lib/liblldb.so.11
/usr/lib/liblldb.so.11.0.0
/usr/lib/liblldbIntelFeatures.so.11
/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 CentOS 8 using yum and dnf.