How To Install lldb on Rocky Linux 8

In this tutorial we learn how to install lldb on Rocky Linux 8. lldb is Next generation high-performance debugger

Introduction

In this tutorial we learn how to install lldb on Rocky Linux 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.

We can use yum or dnf to install lldb on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lldb.

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

sudo dnf -y install lldb

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

sudo yum -y install lldb

How To Uninstall lldb on Rocky Linux 8

To uninstall only the lldb package we can use the following command:

sudo dnf remove lldb

lldb Package Contents on Rocky Linux 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/0a
/usr/lib/.build-id/0a/b323df9e341de9a7b0c2dece48bc1db6df1688
/usr/lib/.build-id/25
/usr/lib/.build-id/25/fde2d6f499fc17f3782a26c9f6d863100a1717
/usr/lib/.build-id/34
/usr/lib/.build-id/34/a9339c18846f186ac0c88f6ea2a16f504af2a0
/usr/lib/.build-id/51
/usr/lib/.build-id/51/5c1fa90d5f200cbccf3257b1bfcd16d55ba0fd
/usr/lib/.build-id/67
/usr/lib/.build-id/67/05c53ba19c71d35bb4302a3a98d412f12f04ae
/usr/lib/.build-id/99
/usr/lib/.build-id/99/72b71a69ff46d4c142193c05c1b43c3b96e0bd
/usr/lib/.build-id/af
/usr/lib/.build-id/af/bd2a29bf6a2d8bd662e1d340e8e86744fd8f86
/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
/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/2b
/usr/lib/.build-id/2b/e67792938005fbdc7d33f85c605a29d49ef649
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/d348e12c0fb89d4cd712b88bbc8eb618374df3
/usr/lib/.build-id/52
/usr/lib/.build-id/52/4e04f83e0bfbfe1fa73b97b54e6eb228f0a938
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/2c89395ddbf03018a15f2ec536a8a4a71e3183
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/ada0c2d5c51ea29cc87701fd652c8f2a700873
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/3df11a95f9345bdd2ecdfb65a50cbdb4ad9960
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/95a3582d13953bd545b9b49aad25f9aff6c831
/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

References

Summary

In this tutorial we learn how to install lldb on Rocky Linux 8 using yum and dnf.