How To Install bochs-gdb on Fedora 36

In this tutorial we learn how to install bochs-gdb in Fedora 36. bochs-gdb is Bochs with support for debugging with gdb

Introduction

In this tutorial we learn how to install bochs-gdb on Fedora 36.

What is bochs-gdb

Special version of bochs compiled with a gdb stub so that the software running inside the emulator can be debugged with gdb.

We can use yum or dnf to install bochs-gdb on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install bochs-gdb.

Install bochs-gdb on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install bochs-gdb using dnf by running the following command:

sudo dnf -y install bochs-gdb

Install bochs-gdb on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install bochs-gdb using yum by running the following command:

sudo yum -y install bochs-gdb

How To Uninstall bochs-gdb on Fedora 36

To uninstall only the bochs-gdb package we can use the following command:

sudo dnf remove bochs-gdb

bochs-gdb Package Contents on Fedora 36

/usr/bin/bochs-gdb
/usr/lib/.build-id
/usr/lib/.build-id/f0/89d308d80c9893a3bce79f78c0f8c0658acd1c

References

Summary

In this tutorial we learn how to install bochs-gdb on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).