How to Install and Uninstall gdb.x86_64 Package on CentOS 8 / RHEL 8

Last updated: November 16,2024

1. Install "gdb.x86_64" package

Please follow the guidelines below to install gdb.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install gdb.x86_64

2. Uninstall "gdb.x86_64" package

This tutorial shows how to uninstall gdb.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove gdb.x86_64 $ sudo dnf autoremove

3. Information about the gdb.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 4:30:55 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : gdb
Version : 8.2
Release : 12.el8
Architecture : x86_64
Size : 297 k
Source : gdb-8.2-12.el8.src.rpm
Repository : appstream
Summary : A stub package for GNU source-level debugger
URL : http://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'.