Skip to content

Instantly share code, notes, and snippets.

@niklaskeerl
Last active March 7, 2025 21:04
Show Gist options
  • Save niklaskeerl/fc26dd02e204eb685fe5b06a89a9ceda to your computer and use it in GitHub Desktop.
Save niklaskeerl/fc26dd02e204eb685fe5b06a89a9ceda to your computer and use it in GitHub Desktop.
Install pwndbg and gdb on arch linux

How to install pwndbg and gdb on arch linux

sudo pacman -S gdb
sudo pacman -S pwndbg
echo 'source /usr/share/pwndbg/gdbinit.py' >> ~/.gdbinit

If you are getting the following error "Cannot find Pwndbg virtualenv directory: /usr/share/pwndbg/.venv: please re-run setup.sh", do the following steps, otherwise ignore:

Creating the venv: python -m venv /usr/share/pwndbg/.venv

Activating the venv: source /usr/share/pwndbg/.venv/bin/activate

Install the missing packages: pip install pwndbg pwnlib pyelftools psutil typing_extensions pwntools tabulate

@namaek2
Copy link

namaek2 commented Nov 29, 2024

thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment