< Home - < Back

gdb


Information about the package, gdb, which is shipped with common Linux distributions. The gdb package is designed for, A GNU source-level debugger for C, C++, Java and other languages.


Package Name:

gdb

Summary:

A GNU source-level debugger for C, C++, Java and other languages

Description:

exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain GDB, the GNU debugger, allows you to debug programs written in C, C++, Java, and other languages, by executing them in a controlled fashion and printing their data.

Architecture:

x86_64

Version:

7.2

Release:

92.el6

Size:

2.3 M

Repository:

base

From Repository:

Licence:

GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with



Handy Yum Commands for gdb


Control the gdb package with the following handy commands outlined below.


Command

Description of Command

yum install gdb

This command will install gdb on the server.

yum remove gdb

This command will un-install gdb on the server. When you run this command, you will be asked if you are sure that you want to remove gdb, so you have to manually confirm that you want to do this.

yum -y remove gdb

This command will un-install gdb on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove gdb when using the -y flag.

yum update gdb

This command will update gdb to the latest version. When you run this command, you will be asked if you are sure that you want to remove gdb, so you have to manually confirm that you want to do this.

yum -y update gdb

This command will update gdb to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove gdb when using the -y flag.

yum info gdb

This command will show you core information about the gdb package.

yum deplist gdb

This command will show you the dependencies for gdb. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update gdb

This command will check if there is an update waiting on gdb. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.