How to Install and Uninstall gdb.x86_64 Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: November 26,2024

1. Install "gdb.x86_64" package

This guide covers the steps necessary to install gdb.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

$ sudo dnf update $ sudo dnf install gdb.x86_64

2. Uninstall "gdb.x86_64" package

This is a short guide on how to uninstall gdb.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):

$ sudo dnf remove gdb.x86_64 $ sudo dnf autoremove

3. Information about the gdb.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 0:13:58 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : gdb
Version : 10.2
Release : 11.el9
Architecture : x86_64
Size : 126 k
Source : gdb-10.2-11.el9.src.rpm
Repository : ubi-9-appstream-rpms
Summary : A stub package for GNU source-level debugger
URL : https://gnu.org/software/gdb/
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
Description : 'gdb' package is only a stub to install gcc-gdb-plugin for 'compile' commands.
: See package 'gdb-headless'.