How to Install gdb-python2 software package in Debian 9 (Stretch)

How to Install gdb-python2 software package in Debian 9 (Stretch)

gdb-python2 software package provides GNU Debugger (linked against python2), you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install gdb-python2 

gdb-python2 is installed in your system.

Make ensure the gdb-python2 package were installed using the commands given below,

$ sudo dpkg-query -l | grep gdb-python2 *

You will get with gdb-python2 package name, version, architecture and description in a table

gdb-python2 package basic information:

Distro Debian 9 stretch
Section Development
Package gdb-python2
Version 7.11.1-2
Description GNU Debugger (linked against python2)
Sub Section devel


See Also, How to uninstall or remove gdb-python2 software package from Debian 9 (Stretch)?