Install Pstack On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Install Pstack On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

pstack

GNU Debugger

Maintainer: Thomas Preud'homme



Section: devel

Install pstack

  • Debian apt-get install pstack Click to copy
  • Ubuntu apt-get install pstack Click to copy
  • Alpine OS apk add gdb Click to copy
  • Arch Linux pacman -S gdb Click to copy
  • Kali Linux apt-get install pstack Click to copy
  • CentOS yum install gdb Click to copy
  • Fedora dnf install gdb Click to copy
  • Raspbian apt-get install gdb Click to copy
  • macOS brew install gdb Click to copy

gdb

GNU Debugger

GDB is a source-level debugger, capable of breaking programs at any specific line, displaying variable values, and determining where errors occurred. Currently, gdb supports C, C++, D, Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2, Go, and Ada. A must-have for any serious programmer.

pstack

Display stack trace of a running process

pstack dumps a stack trace for a process, given the PID of that process. If the process named is part of a thread group, then all the threads in the group are traced.

Installation of latest pstack command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.