How To Install swig-gdb on Fedora 36

In this tutorial we learn how to install swig-gdb in Fedora 36. swig-gdb is Commands for easier debugging of SWIG

Introduction

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

What is swig-gdb

This package contains file with commands for easier debugging of SWIG in gdb.

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

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

sudo dnf -y install swig-gdb

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

sudo yum -y install swig-gdb

How To Uninstall swig-gdb on Fedora 36

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

sudo dnf remove swig-gdb

swig-gdb Package Contents on Fedora 36

/usr/share/swig/gdb
/usr/share/swig/gdb/swig.gdb

References

Summary

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